[EMAIL PROTECTED] (Craig R. McClanahan) writes:
> Originally (back in the pre-3.2-final days), Tomcat did the equivalent of
> a RequestDispatcher.forward() to display welcome pages.  This caused
> massive problems for people who didn't understand the difference between:
> 
>   http://foo.bar/webapp
> 
> and
> 
>   http://foo.bar/webapp/
> 
> In the former case, any relative urls on the "real" welcome page are
> broken.  This caused bug reports about welcome files not working (never
> mind that using a <base> element in your welcome page would have fixed
> it), which led to the current behavior.

Could Tomcat not work in the way the Apache server does?

In response to the first URL (no trailing '/'), a redirect is issued
to the second URL (with trailing '/').  In response to the second URL,
an internal forward is done to the welcome page.

-- 
 `O O'  | [EMAIL PROTECTED]
// ^ \\ | http://www.pyrites.org.uk/

Reply via email to