Re: Trailing slash added

2007-01-17 Thread Rashmi Rubdi
>I think Rashmi and I mean the same thing by "translation" and "resolution". >Yes, the browser does the URL resolution, and if you have relative >URLs then the trailing slash is meaningful. If you remove it you will >change the meaning of relative URLs on that page. >Len On 1/17/07, lightbulb432 <

Re: Trailing slash added

2007-01-17 Thread Len Popp
I think Rashmi and I mean the same thing by "translation" and "resolution". Yes, the browser does the URL resolution, and if you have relative URLs then the trailing slash is meaningful. If you remove it you will change the meaning of relative URLs on that page. -- Len On 1/17/07, lightbulb432 <[

Re: Trailing slash added

2007-01-17 Thread lightbulb432
I want to get rid of the trailing slash for style issues (really a small concern) and also to learn about customization within Tomcat as well as URL rewriting. Regarding URL rewriting, did you mean the following? Testing trailing slash. (.*)/ $1 Perhaps that wo

Re: Trailing slash added

2007-01-15 Thread Len Popp
I was talking about what the browser does when you click on a link in a web page. Suppose you have a web page called http://www.example.com/directory/page1.html and it contains this hyperlink: Page 2 When you click on that link, the browser has to figure out what "page2.html" refers to. It's rela

Re: Trailing slash added

2007-01-15 Thread Rashmi Rubdi
Could you explain to us, why you want to get rid of the trailing slash ? >Could anyone please expand a little more on what's meant by the two >statements below? >>Len Popp wrote: >> >> It doesn't matter if it's done by URLRewriteFilter or some other >> method because it's the browser that inter

Re: Trailing slash added

2007-01-15 Thread lightbulb432
Could anyone please expand a little more on what's meant by the two statements below? Len Popp wrote: > > It doesn't matter if it's done by URLRewriteFilter or some other > method because it's the browser that interprets the relative URLs, not > the server. > > If the containing page's URL

Re: Trailing slash added

2007-01-15 Thread Len Popp
inname.com -Rashmi - Original Message From: Len Popp <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Sunday, January 14, 2007 7:41:03 PM Subject: Re: Trailing slash added Note that if you allow the browser to refer to directories without the trailing slash, you will break the handl

Re: Trailing slash added

2007-01-14 Thread Rashmi Rubdi
ttp://domainname.com -Rashmi - Original Message From: Len Popp <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Sunday, January 14, 2007 7:41:03 PM Subject: Re: Trailing slash added Note that if you allow the browser to refer to directories without the trailing slash, you will brea

Re: Trailing slash added

2007-01-14 Thread Len Popp
nal Message From: Tim Funk <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Sunday, January 14, 2007 12:26:39 PM Subject: Re: Trailing slash added There is no way to customize this behavior other than overriding the default servlet with your own implementation. -Tim lightbulb432 wrote:

Re: Trailing slash added

2007-01-14 Thread Rashmi Rubdi
I think you can customize it with URL Rewriting Filters. Google URLRewriteFilter to find pre-built packages, or you can write your own. -Rashmi - Original Message From: Tim Funk <[EMAIL PROTECTED]> To: Tomcat Users List Sent: Sunday, January 14, 2007 12:26:39 PM Subject: Re: Tr

Re: Trailing slash added

2007-01-14 Thread Tim Funk
There is no way to customize this behavior other than overriding the default servlet with your own implementation. -Tim lightbulb432 wrote: I noticed that Tomcat adds a trailing slash automatically when it detects that the requested resource points to an existing directory. While I know that A