I'm fairly sure there is no difference between the two.  The browser
contacts www.google.com on the default port 80 and then sends a GET /
request regardless of whether the last '/' is in the address bar.  Take
a look at one of the many browser plugins like Firebug for Firefox to
see it for your self.

Now if you mean URLs like http://www.my.page.com/mydir becoming
http://www.my.page.com/mydir/, that's a different story.  I suspect the
first request get's a 30x redirect to the second one.

--David

lanxiazhi wrote:
> I discovered that when I made a request to www.google.com
> the browser will change the address to www.google.com/  (add a slash)
> what's the mechanism under this?
> and what is tomcat approach on this?
> thanks.
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to