Re: URL embedded filename suggestion not working inTomcat

2005-09-13 Thread Tim Funk
You could use the Content-Disposition header to send the filename back to the user. -Tim Ron Cozad wrote: This url is not working in Tomcat, but it works with Apache http server. http://my.company.com/cgi-bin/program1.cgi/filename.txt?parameter1=123 Next url does work with tomcat but

RE: url-pattern in web.xml -- looking for explanations and best practice

2005-05-11 Thread Allistair Crossley
URL patterns are quite limited for the web.xml. The document you want is actually the Servlet Specification PDF from Sun's J2EE website. You can achieve what you are talking about using the JK module with Apache or IIS as this forwards requests from the web server to Tomcat. It allows the ! to

RE: url-pattern in web.xml -- looking for explanations and best p ractice

2005-05-11 Thread Raghupathy,Gurumoorthy
In your webapp have dir http://servername:port/context/static/ for all your static content http://servername:port/context/dynamic/ for all your dynamic content URL Pattern URL-pattern/dynamic/*/URL-pattern guru -Original

Re: URL encoding/decoding of UTF-8 characters

2005-04-06 Thread Mark Thomas
It is a lack of agreed standard problem. You can force Tomcat to use UTF-8 encoding by setting the URIEncoding parameter on the connector. There are some other parameters that you can set as well. See http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html Mark Steve Bosman wrote: I

RE: URL encoding/decoding of UTF-8 characters

2005-04-06 Thread Quinten Verheyen
, Q -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: 06 April 2005 17:15 To: Tomcat Users List Subject: Re: URL encoding/decoding of UTF-8 characters It is a lack of agreed standard problem. You can force Tomcat to use UTF-8 encoding by setting the URIEncoding

Re: url of caller?

2005-03-23 Thread QM
On Wed, Mar 23, 2005 at 07:56:01AM -, Pawson, David wrote: : for this use, internal to my organisation, Norton isn't installed : luckily! : : Another Gotcha worth noting though, thanks Mark. This may have been mentioned already, but some browsers can be configured to not provide referrer

Re: url of caller?

2005-03-22 Thread PA
On Mar 22, 2005, at 15:13, Pawson, David wrote: public java.lang.String getRequestURI() is the 'current' page, I need the calling page. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.36 Cheers -- PA, Onnay Equitursay http://alt.textdrive.com/

Re: url of caller?

2005-03-22 Thread Mike Fowler
DaveP, You could use the 'referer' header, eg. String referedURL = request.getHeader(referer); Note that the String is null if the header isn't present which usually indicates that the user typed the URL in their browser. Hope this helps! -- Mike Fowler Registered Linux user: 379787 I could be a

RE: url of caller?

2005-03-22 Thread Pawson, David
-Original Message- From: Mike Fowler You could use the 'referer' header, eg. String referedURL = request.getHeader(referer); Note that the String is null if the header isn't present which usually indicates that the user typed the URL in their

RE: url of caller?

2005-03-22 Thread Peter Crowther
From: Pawson, David [mailto:[EMAIL PROTECTED] From: Mike Fowler Note that the String is null if the header isn't present which usually indicates that the user typed the URL in their browser. The caveat is worth noting! If a user does that, they deserve to be

RE: url of caller?

2005-03-22 Thread Mark Benussi
Worth mentioning this as I have been down this path. Symantec Intenet Security products and the like, will remove this header. I actually contemplated writing to Symantec about this only this morning (I think I have too much time on my hands).

RE: url of caller?

2005-03-22 Thread Pawson, David
-Original Message- From: Mark Benussi Worth mentioning this as I have been down this path. Symantec Intenet Security products and the like, will remove this header. for this use, internal to my organisation, Norton isn't installed luckily!

RE: URL protocol handler issues

2005-02-14 Thread Martin Goldhahn
I had a similar problem, which I posted last week. You should find it searching the Subject field for pluggable protocols in web apps if you kee pold messages. What I found out so far is this: - Defining the protocol handler doesn't do any harm. The URL class searches through the system property

RE: URL protocol handler issues

2005-02-14 Thread Peter Crowther
From: Martin Goldhahn [mailto:[EMAIL PROTECTED] I had a similar problem, which I posted last week. You should find it searching the Subject field for pluggable protocols in web apps if you keep old messages. I keep some, but managed to delete that - a few days before it became highly

RE: URL protocol handler issues

2005-02-14 Thread Martin Goldhahn
-Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent: Monday, February 14, 2005 12:20 PM To: Tomcat Users List Subject: RE: URL protocol handler issues How are you examining the source of this method, by the way? If you downloaded the JDK you already have

Re: url rewritting: appended ;jsessionid break webapp + appended in wrong places!

2004-12-07 Thread Jerome Lacoste
On Sun, 2004-12-05 at 23:00 +0100, Jerome Lacoste wrote: On Sun, 2004-12-05 at 21:15 +0100, Mark Lowe wrote: Thats strange, it must think its a url. You your its not c:url rather than c:out? Or is there something with the c:out variable name also defined in the same page? Mark, shame

[OT] RE: URL encoding in JSP?

2004-12-06 Thread Allistair Crossley
http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLEncoder.html or JSTL c:url .. / -Original Message- From: Shakeel Ahmad [mailto:[EMAIL PROTECTED] Sent: 06 December 2004 12:30 To: Tomcat Users List Subject: URL encoding in JSP? how to send characters in the URLs in JSP

Re: url rewritting: appended ;jsessionid break webapp + appended in wrong places!

2004-12-05 Thread Mark Lowe
Its a general container thing.. Choices. 1. You can use relative links for images and such like (img src=../images/foo.gif /) 2. Write a filter that strips the session id off any request that isn't a .jsp,servlet or .do or whatever you need the session ids for. 3. use mod_rewrite and strip the

Re: url rewritting: appended ;jsessionid break webapp + appended in wrong places!

2004-12-05 Thread Mark Lowe
Sorry I forgot. urlrewrite will give you a ready made configureable filter that could do what you want. http://tuckey.org/urlrewrite/ On Sun, 5 Dec 2004 18:51:15 +0100, Mark Lowe [EMAIL PROTECTED] wrote: Its a general container thing.. Choices. 1. You can use relative links for images

Re: url rewritting: appended ;jsessionid break webapp + appended in wrong places!

2004-12-05 Thread Jerome Lacoste
On Sun, 2004-12-05 at 18:51 +0100, Mark Lowe wrote: Its a general container thing.. Thanks for your help. Question: - why do I get jsessionid appended to text ? Look at the attachment. The message is generated with a c:out tag and the jsessionid is appended to it! Choices. 1. You can use

Re: url rewritting: appended ;jsessionid break webapp + appended in wrong places!

2004-12-05 Thread Jerome Lacoste
On Sun, 2004-12-05 at 21:15 +0100, Mark Lowe wrote: Thats strange, it must think its a url. You your its not c:url rather than c:out? Or is there something with the c:out variable name also defined in the same page? Mark, shame shame shame on me. I was looking at the wrong jsp. Both have a

Re: url-pattern question

2004-11-15 Thread birendar . waldiya
Users List [EMAIL PROTECTED] cc Subject Re: url-pattern question Sorry, both of the urls are gttp://localhost:8080/. . . On Nov 11, 2004, at 2:38 PM, Peter Fogg wrote: Trying to learn how to develop applications in JSP and servlets. Using Tomcat 5.0.28 on Mac OS X v10.3.5. In web-apps

Re: url-pattern question

2004-11-11 Thread Peter Fogg
Sorry, both of the urls are gttp://localhost:8080/. . . On Nov 11, 2004, at 2:38 PM, Peter Fogg wrote: Trying to learn how to develop applications in JSP and servlets. Using Tomcat 5.0.28 on Mac OS X v10.3.5. In web-apps directory created subdirectory LearningTree. Created and compiled a servlet

Re: url-pattern question

2004-11-11 Thread Peter Johnson
Hi Peter, Your *application* is LearningTree so all class files go into LearningTree/WEB-INF/classes HWS is just a directory. If you want HelloWorldServlet to display there as well you'll need to configure a servlet-mapping in web.xml with url-pattern/HWS//url-pattern PJ Peter Fogg wrote:

RE: url-pattern with Basic Auth

2004-11-08 Thread Mike Curwen
I'd think url-pattern elements (regardless of where they appear) need to conform to the url-patterns specified in the spec (not sure of section). paths: starting with '/' and ending with '/*' extensions: '*.foo' exact: exact matching. The url-pattern I've left from your original message

Re: url-pattern with Basic Auth

2004-11-08 Thread Peter Lin
hehe, I did a search of spec 2.2 and 2.3 on url-pattern and didn't find the definition. I guess I'll have to look at earlier specs for the definition. either that or I missed it. peter On Mon, 8 Nov 2004 14:22:36 -0600, Mike Curwen [EMAIL PROTECTED] wrote: I'd think url-pattern elements

RE: url-pattern with Basic Auth

2004-11-08 Thread Shapira, Yoav
Hi, It's SRV.11.2 in the Spec, and org.apache.tomcat.util.http.mapper.Mapper in the Tomcat source code. Yoav Shapira http://www.yoavshapira.com -Original Message- From: Peter Lin [mailto:[EMAIL PROTECTED] Sent: Monday, November 08, 2004 4:27 PM To: Tomcat Users List Subject: Re: url

Re: url-pattern with Basic Auth

2004-11-08 Thread Peter Lin
, 2004 4:27 PM To: Tomcat Users List Subject: Re: url-pattern with Basic Auth hehe, I did a search of spec 2.2 and 2.3 on url-pattern and didn't find the definition. I guess I'll have to look at earlier specs for the definition. either that or I missed it. peter On Mon, 8 Nov 2004 14

Re: url-pattern/*.jsp/url-pattern

2004-10-07 Thread Tim Funk
URL mappings can be a prefix mapping or a filextension mapping. Not both. -Tim Fred Blaise wrote: any possible way i can achieve this in my web.xml ? Bc it wont the app won't start with this... (tomcat 5.0.28) url-pattern/*.jsp/url-pattern

Re: url-pattern/*.jsp/url-pattern

2004-10-07 Thread Fred Blaise
Well, I am developping a site I would like to block entry to. However, my .css file is also in this directory, so having a pattern of /* also blocks access to my css, making the site very ugly to see. I have tried the following, with no result: .jsp (no result), jsp (no result), *.jsp (app fails

Re: url-pattern/*.jsp/url-pattern

2004-10-07 Thread Tim Funk
In that case look at ErrorFilter from my Servlet Utilities. It allows you to set an error based on an EL expression. (The utilities depend on tomcat 5). For example - to block all direct jsp access. filter filter-nameErrorFilter/filter-name

Re: url-pattern/*.jsp/url-pattern

2004-10-06 Thread Peter Johnson
url-pattern*.jsp/url-pattern But I think that you'll find that this is defined in the core web.xml to go to the JSP servlet. What are you trying to achieve? On Thu, 2004-10-07 at 15:22, Fred Blaise wrote: any possible way i can achieve this in my web.xml ? Bc it wont the app won't start with

RE: URL Rewriting on a uer by user basis

2004-08-23 Thread Shapira, Yoav
Hi, This is not hard to do with a Filter, as long as your authentication is done before this Filter (possibly with another one). Your chain would then look like: - Authentication filter (mapped to /*, does nothing if request already authenticated) - Rewrite filter (mapped to /*, checks

RE: URL forwarding in TC 5

2004-07-19 Thread Shapira, Yoav
Hi, Of course, just like you would in any other servlet container (using a filter or servlet mapped to web1 which does response.sendRedirect to web2). Yoav Shapira Millennium Research Informatics -Original Message- From: Keshav Sarin [mailto:[EMAIL PROTECTED] Sent: Monday, July 19,

RE: URL forwarding in TC 5

2004-07-19 Thread Keshav Sarin
Sure. But that means I need to have a webapp which does it programmatically. Isn't there a way to define a URL mapping on the web component of TC? E.g. can't I configure TC to define that localhost/web1 maps to localhost/web2? [EMAIL PROTECTED] 07/19/04 11:32AM Hi, Of course, just like you

Re: URL forwarding in TC 5

2004-07-19 Thread Tim Funk
If you don't mind 2 instances of the same webapp running, you just deploy the webapp under 2 names using an extra Context declaration. -Tim Keshav Sarin wrote: Sure. But that means I need to have a webapp which does it programmatically. Isn't there a way to define a URL mapping on the web

RE: URL validation

2004-06-11 Thread Ikonne, Ike
: RE: URL validation Hi, Can you give examples and/or cases that show java.net.URL doesn't meet the RFC specifications? Yoav Shapira Millennium Research Informatics -Original Message- From: Ikonne, Ike [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 1:52 PM To: 'Tomcat Users List

RE: URL validation

2004-06-11 Thread Shapira, Yoav
Hi, I had this in the new URL(http://4526353[EMAIL PROTECTED]@##$#$$%(()))*(*^%^%^) and it passed. I was expecting to get some error. Should I? No, you shouldn't get an error. It's a valid but nonsensical URL. If you're not clear why this is valid, and are interested, look at RFC 2396. To

RE: URL validation

2004-06-08 Thread SH Solutions
Hi Here is my problem, I am looking for a way to syntactically valid a given URL without having to actually creating an URL object. try { new URL( myUrl ); return true; } catch ( Throwable t ) { return false; } Why not creating it? Javas young generation garbage collection should dispose

RE: URL validation

2004-06-08 Thread SH Solutions
Hi ... So problem here. Meant: No problem here. Sorry, regards, Steffen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: URL validation

2004-06-08 Thread Ikonne, Ike
To: 'Tomcat Users List' Subject: RE: URL validation Hi Here is my problem, I am looking for a way to syntactically valid a given URL without having to actually creating an URL object. try { new URL( myUrl ); return true; } catch ( Throwable t ) { return false; } Why not creating it? Javas young

Re: URL validation

2004-06-08 Thread James Black
Ikonne, Ike wrote: Hi Steffen, Thanks, new URL(url) doesn't work consistently. I have tried it, one can throw in an url that doesn't meet RFC 1738 but URL(url) will not catch it. You could try regular expressions. Here is a relatively simple one:

RE: URL validation

2004-06-08 Thread Ikonne, Ike
Hi James, Thanks, I will try your suggestion and let you know if it meets my requirements. Ike -Original Message- From: James Black [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 2:06 PM To: Tomcat Users List Subject: Re: URL validation Ikonne, Ike wrote: Hi Steffen, Thanks

Re: URL validation

2004-06-08 Thread Vy Ho
Did you file a bug report at java.sun.com yet? Ikonne, Ike wrote: Hi Steffen, Thanks, new URL(url) doesn't work consistently. I have tried it, one can throw in an url that doesn't meet RFC 1738 but URL(url) will not catch it. Thanks, Ike

RE: URL validation

2004-06-08 Thread Ikonne, Ike
Hi, No, I have not. I haven't thought about it. Ike -Original Message- From: Vy Ho [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 2:22 PM To: Tomcat Users List Subject: Re: URL validation Did you file a bug report at java.sun.com yet? Ikonne, Ike wrote: Hi Steffen

RE: URL validation

2004-06-08 Thread Shapira, Yoav
Hi, Can you give examples and/or cases that show java.net.URL doesn't meet the RFC specifications? Yoav Shapira Millennium Research Informatics -Original Message- From: Ikonne, Ike [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 1:52 PM To: 'Tomcat Users List' Subject: RE: URL

RE: URL Rewriting

2004-05-21 Thread Shapira, Yoav
Hi, IMHO (literally) this is not that good an idea in that your solution will be incur more costs (complexity, customization, long-term maintenance) than benefits (??). Yoav Shapira Millennium Research Informatics -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of

Re: URL Rewriting

2004-05-21 Thread Tim Funk
I think the struts list can probably answer this better than this list. -Tim Morten wrote: Hi! We are using Struts 1.1 and Tomcat 4.1.x at our company. We are considering to separate our urls from our struts configuration. Instead of /news.do?articleid=43 we would like the url to look like this:

RE: URL Mapping Question

2004-04-23 Thread Allistair Crossley
You definately did a hard IIS restart..? I have done simple stop/start ones using the controls and found this does not reload the mappings. -Original Message- From: Varley, Roger [mailto:[EMAIL PROTECTED] Sent: 23 April 2004 13:51 To: [EMAIL PROTECTED] Subject: URL Mapping Question Hi

RE: URL Mapping Question

2004-04-23 Thread Varley, Roger
-Original Message- From: Allistair Crossley [mailto:[EMAIL PROTECTED] Sent: 23 April 2004 13:54 To: Tomcat Users List Subject: RE: URL Mapping Question You definately did a hard IIS restart..? I have done simple stop/start ones using the controls and found this does

RE: URL Mapping Question

2004-04-23 Thread Varley, Roger
I have now managed to get it to work. I have defined two contexts (InboundA and InboundB) in server.xml and specified Inbound as the docBase for both contexts. So, what does the context parameter in workers2.properties actually do? Regards Roger -Original Message- From:

RE: URL Mapping Question

2004-04-23 Thread Moran Ben-David
much help.. Moran -Original Message- From: Varley, Roger [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 10:14 AM To: Tomcat Users List Subject: RE: URL Mapping Question I have now managed to get it to work. I have defined two contexts (InboundA and InboundB) in server.xml

RE : URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-25 Thread Hertenstein Alain
Ok thanks for the info. I finally did it with a filter and it worked. Regards Alain -Message d'origine- De : news [mailto:[EMAIL PROTECTED] De la part de Bill Barker Envoyé : jeudi, 25. mars 2004 04:29 À : [EMAIL PROTECTED] Objet : Re: URL redirect problem, even with 'RequestDispatcher

Re: URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Tim Funk
/ is also known as the default servlet. So your servlet will also need to server all static content too. -Tim Hertenstein Alain wrote: Hi all, This question has already been asked before, but the solutions found in the archives don't seem to work properly. I have a web site running on IIS

RE : URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Hertenstein Alain
] Envoyé : mercredi, 24. mars 2004 14:15 À : Tomcat Users List Objet : Re: URL redirect problem, even with 'RequestDispatcher' servlet ! / is also known as the default servlet. So your servlet will also need tos erver all static content too. -Tim Hertenstein Alain wrote: Hi all, This question

Re: RE : URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Tim Funk
Users List Objet : Re: URL redirect problem, even with 'RequestDispatcher' servlet ! / is also known as the default servlet. So your servlet will also need tos erver all static content too. -Tim Hertenstein Alain wrote: Hi all, This question has already been asked before, but the solutions

Re: URL redirect problem, even with 'RequestDispatcher' servlet !

2004-03-24 Thread Bill Barker
and so on...). -Message d'origine- De : Tim Funk [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 24. mars 2004 14:15 À : Tomcat Users List Objet : Re: URL redirect problem, even with 'RequestDispatcher' servlet ! / is also known as the default servlet. So your servlet will also need tos erver

RE: url-pattern pb in security constraints

2004-03-11 Thread Ralph Einfeldt
According to the spec (Chapter 11.2): spec A string beginning with a / character and ending with a /* postfix is used for path mapping. A string beginning with a *. prefix is used as an extension mapping. A string containing only the / character indicates the default servlet of the

Re: URL Internal Redirect works with Tomcat/Apache 1.3 but not with Apache 2.0

2004-02-19 Thread raiden
Ok, actually that second rule doesn't really work properly either (because if someone posts their contact information, that redirect doesn't allow the post to go through properly). Anyone have any ideas on how to do this the right way? Thanks! -Raiden On Wed, 18 Feb 2004 [EMAIL PROTECTED]

Re: URL Internal Redirect works with Tomcat/Apache 1.3 but not with Apache 2.0

2004-02-19 Thread raiden
Actually, it looks like I just figured it out. I need to use [PT] instead of just [P]. Not sure why it worked with just [P] in Apache 1.3. Thanks, -Raiden On Thu, 19 Feb 2004 [EMAIL PROTECTED] wrote: Ok, actually that second rule doesn't really work properly either (because if someone

Re: URL Redirect

2004-02-18 Thread Duane Burchell
On Wed, 18 Feb 2004, Dean Searle wrote: I have a simple, yet allusive question. In Apache and Tomcat you can create Virtual Hosts. Within the Virtual Hosts you can specify different parameters. In Apache httpd.conf I can have the following: This is somewhat similar to the issue I was

RE: URL encoding/decoding bug in form-based security?

2004-02-06 Thread Yansheng Lin
Hey, check out the following section on URI/URL Standard Specification(RFC 2396). http://www.w3.org/Addressing/ 2.4.3. Excluded US-ASCII Characters Although they are disallowed within the URI syntax, we include here a description of those US-ASCII characters that have been

Re: URL path naming question, recommended naming conventions?

2004-01-05 Thread Jonathan Eric Miller
I'm using Tomcat in standalone mode and hence setting the permissions using Tomcat in the web.xml file. Jon - Original Message - From: Howard Watson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 3:36 PM Subject: Re: URL path naming question, recommended

RE: URL path naming question, recommended naming conventions?

2003-12-31 Thread Shapira, Yoav
Howdy, With tomcat 5 you can use a servlet as an index page, i.e. a welcome-file in web.xml. Don't use /servlet as part of the URL unless you have to, as that just gives hackers a clue. Yoav Shapira Millennium ChemInformatics -Original Message- From: Jonathan Eric Miller

Re: URL path naming question, recommended naming conventions?

2003-12-31 Thread Howard Watson
This is a link to a PDF with a good discussion of doing the things you talk about from your web.xml. http://java.sun.com/developer/Books/javaserverpages/servlets_javaserver/servlets_javaserver05.pdf [EMAIL PROTECTED] 12/31/03 11:56AM I'm developing an application that uses servlets and JSP.

Re: URL path naming question, recommended naming conventions?

2003-12-31 Thread Jonathan Eric Miller
using on my login page to be inaccessible. Jon - Original Message - From: Shapira, Yoav [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 1:05 PM Subject: RE: URL path naming question, recommended naming conventions? Howdy, With tomcat 5 you

Re: URL path naming question, recommended naming conventions?

2003-12-31 Thread Howard Watson
] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, December 31, 2003 1:05 PM Subject: RE: URL path naming question, recommended naming conventions? Howdy, With tomcat 5 you can use a servlet as an index page, i.e. a welcome-file in web.xml. Don't use /servlet as part of the URL unless you

RE: URL-rewriting

2003-12-29 Thread Shapira, Yoav
Howdy, I'm not an expert on Apache's mod-rewrite, so I'll give you one possible pue java solution: a fairly simple filter (a javax.servlet.Filter filter). Map the filter /* and code your redirection rules in java. Actually, you might want to look at the balancer webapp (tomcat 5) which has a

Re: URL-rewriting

2003-12-29 Thread Bill Barker
Mattias Bogeblad -Ursprungligt meddelande- Från: Shapira, Yoav [mailto:[EMAIL PROTECTED] Skickat: den 29 december 2003 19:13 Till: Tomcat Users List Ämne: RE: URL-rewriting Howdy, I'm not an expert on Apache's mod-rewrite, so I'll give you one possible pue java solution: a fairly simple filter

Re: URL rewriting question ..

2003-11-18 Thread Christopher Schultz
Mufaddal, Are there some configuration settings in Tomcat 4.1.x that can be set in say the server.xml or web.xml that can be used ? Nope. Tomcat won't look through your responses for things that look like URLs and append all the things you need (like sessison id, etc.). However, if you are

Re: URL rewriting question ..

2003-11-18 Thread Mufaddal Khumri
Wouldnt it be nice a feature like this that one can turn on or off globally in a container like tomcat ? The existing way to granularly do it should remain, but a global way to do it would be nice .. On Tuesday, November 18, 2003, at 09:13 AM, Christopher Schultz wrote: Mufaddal, Are there

Re: URL rewriting question ..

2003-11-18 Thread Christopher Schultz
Mufaddal, Wouldnt it be nice a feature like this that one can turn on or off globally in a container like tomcat ? The existing way to granularly do it should remain, but a global way to do it would be nice .. Feel free to submit a patch :) -chris

RE: URL of calling JSP page calling a servlet.

2003-10-27 Thread Shapira, Yoav
Howdy, You mean like the Referer (misspelled) header? Yoav Shapira Millennium ChemInformatics -Original Message- From: anunay ashish [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 8:55 AM To: Tomcat Users List Subject: URL of calling JSP page calling a servlet. Hi, I want to

Re: URL of calling JSP page calling a servlet.

2003-10-27 Thread anunay ashish
7:41 PM Subject: RE: URL of calling JSP page calling a servlet. Howdy, You mean like the Referer (misspelled) header? Yoav Shapira Millennium ChemInformatics -Original Message- From: anunay ashish [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 8:55 AM To: Tomcat Users List

RE: URL of calling JSP page calling a servlet.

2003-10-27 Thread Shapira, Yoav
Howdy, Yes, use HTTP Referer header. You can RTFM/google on this issue, it's easy. Yoav Shapira Millennium ChemInformatics -Original Message- From: anunay ashish [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2003 9:40 AM To: Tomcat Users List Subject: Re: URL of calling JSP page

Re: URL in Location Bar

2003-10-01 Thread Christopher Williams
Use frames. However, you are trying to change the way people use the web and your users won't like that. People expect the URL in the location bar to reflect where they are - that way they can bookmark pages and such like. Kind regards, Chris Williams.

Re: URL: Hiding index.jsp

2003-09-29 Thread slg.ahlen.quvintheumn
- Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, September 29, 2003 1:43 AM Subject: Re: URL: Hiding index.jsp Tomcat4 cannot do this by itself. With the help of apache and directory indexing - this can be done with a little

Re: URL: Hiding index.jsp

2003-09-28 Thread Tim Funk
Tomcat4 cannot do this by itself. With the help of apache and directory indexing - this can be done with a little tweaking. Tomcat5 can hide the name of the welcome-file. -Tim [EMAIL PROTECTED] wrote: All, I am trying to develop a site and wish to hide the default page defined in the

Re: URL: Hiding index.jsp

2003-09-28 Thread Bill Barker
Tim Funk [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Tomcat4 cannot do this by itself. With the help of apache and directory indexing - this can be done with a little tweaking. Tomcat5 can hide the name of the welcome-file. As can Tomcat 3.3.2-dev. -Tim [EMAIL PROTECTED]

RE: url-pattern and realms security

2003-08-15 Thread Madere, Colin
:53:36 AM, you wrote: MC Sorry sorry, web-resource-name elements are unique, just a copying MC error. MC -Original Message- MC From: Alexander Vavilin [mailto:[EMAIL PROTECTED] MC Sent: Thursday, August 14, 2003 10:33 PM MC To: Tomcat Users List MC Subject: Re: url-pattern and realms

Re: url-pattern and realms security

2003-08-15 Thread Bill Barker
Message- MC From: Alexander Vavilin [mailto:[EMAIL PROTECTED] MC Sent: Thursday, August 14, 2003 10:33 PM MC To: Tomcat Users List MC Subject: Re: url-pattern and realms security MC Hello Colin, MC I am not sure, but I think you cannot do this, first an web-resource-name MC element

Re: url-pattern and realms security

2003-08-14 Thread Alexander Vavilin
Hello Colin, I am not sure, but I think you cannot do this, first an web-resource-name element means an UNIQUE name. Can you understand ? You must give it different names. Second thing, I never heard about http-method element. Hope it will help. -- Best regards, Alexander

RE: url-pattern and realms security

2003-08-14 Thread Madere, Colin
Sorry sorry, web-resource-name elements are unique, just a copying error. -Original Message- From: Alexander Vavilin [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 10:33 PM To: Tomcat Users List Subject: Re: url-pattern and realms security Hello Colin, I am not sure, but I

Re: url-pattern and realms security

2003-08-14 Thread Bill Barker
It's a Tomcat implementation detail, but I believe that 4.1.x does a first-match (so moving /* to the end of the list should work). The Servlet 2.4 spec is much more specific about what to do in your case, so Tomcat 5 and WebLogic should do the same thing when they come out. Madere, Colin [EMAIL

RE: url-pattern and realms security

2003-08-14 Thread Madere, Colin
So simple, gotta love those. All is working as desired. Thanks Bill! -Original Message- From: Bill Barker [mailto:[EMAIL PROTECTED] Sent: Thursday, August 14, 2003 11:27 PM To: [EMAIL PROTECTED] Subject: Re: url-pattern and realms security It's a Tomcat implementation detail, but I

RE: url-pattern in filters

2003-07-02 Thread Abid Ali Teepo
Yes i did, thank you but i can't get the filter to take action on all requests with (/*), so i need to figure out how the url-pattern works -Original Message- From: Cox, Charlie [mailto:[EMAIL PROTECTED] Sent: 1. juli 2003 18:55 To: 'Tomcat Users List' Subject: RE: url-pattern

RE: url-pattern in filters

2003-07-02 Thread Cox, Charlie
, 2003 2:59 AM To: Tomcat Users List Subject: RE: url-pattern in filters Yes i did, thank you but i can't get the filter to take action on all requests with (/*), so i need to figure out how the url-pattern works -Original Message- From: Cox, Charlie [mailto:[EMAIL

RE: url-pattern in filters

2003-07-01 Thread Shapira, Yoav
Howdy, A filter mapped to /* will get called for all requests. The description of the url-pattern element and its uses is in the Servlet Specification. If you post your specific filter's code, we can help find bugs in it. Yoav Shapira Millennium ChemInformatics -Original Message-

RE: URL For Calling Servlet/JSP In Different Context

2003-06-25 Thread Shapira, Yoav
Howdy, Assuming servlet1 is in context1, accessible as http://yourhost:yourport/context1/servlet1, And servlet2 is in context2, accessible as http://yourhost:yourport/context2/servlet2, you can do: ServletContext context1 = getServletContext(); ServletContext context2 =

Re: url-pattern problem? Deployed servlet works in Tomcat 4.0.4 but fails in Tomcat 4.1.18

2003-03-26 Thread Randal E. Curnutt
I tried changing the URL Pattern as suggested below but that didn't fix the problem. With regards to my code, I have a simple form in my JSP which uses the GET method to send some form field values to my servlet. I'll paste the code below. FORM action=/SAWSServlet class=formClass method=get

Re: url-pattern problem? Deployed servlet works in Tomcat 4.0.4 butfails in Tomcat 4.1.18

2003-03-25 Thread Craig R. McClanahan
On Tue, 25 Mar 2003, Randy Curnutt wrote: Date: Tue, 25 Mar 2003 21:14:47 -0500 From: Randy Curnutt [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], Randy Curnutt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: url-pattern problem? Deployed servlet works in Tomcat

Re: url http://localhost:8443 does not display anything after configuring the ssl for running tomcat

2003-03-13 Thread Aparna Narla
Hi All, I tried to run tomcat 4.1.18 with ssl connection. I followed the instructions in 'ssl configuration HOW-TO'.I changed the server.xml file and mentioned the ssl port as 8443 which is the default. When i type url http://localhost:8443 the page does not display anything. If anybody has been

Re: url http://localhost:8443 does not display anything after configuring the ssl for running tomcat

2003-03-13 Thread Diego Rodriguez
Have you tried https://localhost:8443 instead of http://localhost:8443 ? Diego - Original Message - From: Aparna Narla [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 7:25 PM Subject: Re: url http://localhost:8443 does not display anything

RE: URL Rewritting

2003-01-31 Thread Filip Hanik
Am I missing something, but shouldn't the date variable be available through the regular request here. % String date = request.getParameter(date); % -Original Message- From: Chad Pettit [mailto:[EMAIL PROTECTED]] Sent: Friday, January 31, 2003 11:02 AM To: Tomcat Users List

Re: URL alias

2003-01-27 Thread Erik Price
Paul Phillips wrote: Just for convenience sake, I would like to make an alias for login purposes that looks something like: http://myhost:8080/webappname/login I can't figure out how to map that to my controller servlet AND at the same time include the parameter event=login. The

Re: URL alias

2003-01-27 Thread paul
Erik suggested: Why not create a filter -- map login to your filter (LoginFilter) and have the Filter intercept the request and add the parameter to the request before it calls the doFilterChain() (which means before it passes the request to the Controller). I thought about doing that, but

Re: URL alias

2003-01-27 Thread Igor I. Tovstopyat-Nelip
Probably, using a filter is an overkill in this situation. If you are sending a GET request, just extend your URL: http://myhost:8080/webappname/login?event=login . If you are posting from a form, you can include a hidden parameter with name=event and value=login. Igor TN On Mon, 27 Jan 2003,

Re: URL alias

2003-01-27 Thread Craig R. McClanahan
On Mon, 27 Jan 2003 [EMAIL PROTECTED] wrote: Date: Mon, 27 Jan 2003 11:23:45 -0600 (CST) From: [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: URL alias Erik suggested: Why not create a filter -- map login to your filter (LoginFilter

Re: URL alias

2003-01-26 Thread Craig R. McClanahan
On Sun, 26 Jan 2003, Paul Phillips wrote: Date: Sun, 26 Jan 2003 12:08:32 -0600 From: Paul Phillips [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: URL alias I have a web application that I have written that uses a

Re: URL

2003-01-24 Thread John Burgess
Just set up tomcat to serve ssl on port 443 (the default for https as 80 is http) and you won't need to specify the port. - Original Message - From: Ravindra K. Bhat [EMAIL PROTECTED] To: Ravindra K. Bhat [EMAIL PROTECTED] Cc: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, January 23,

  1   2   3   >