>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 <
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 <[
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
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
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
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
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
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
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:
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
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
11 matches
Mail list logo