tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Smith <d...@cornell.edu>
Subject Re: is there any difference?
Date Thu, 23 Jul 2009 03:39:38 GMT
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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message