If a trailing / is not present, then performing a RequestDispatcher.forward will break all relative references (for the web browser)

-Tim

Costin Manolache wrote:
Matt Parker wrote:

On Mon, 2003-01-06 at 14:43, Hans Bergsten wrote:

Okay, that's different. Maybe I misread your patch, but to me it looked
as if you changed the behavior when there's no trailing slash.
Actually my patch is forwarding under both circumstances, but according
to SRV.9.10 of Servlet 2.4, this is actually correct (phew! :)

Forwarding if there is no ending "/" doesn't seem right. I'm very sure anchors will be broken.

It may be a good idea to include a modified patch that makes this optional -
but IMO redirect should remain the default. But please verify that anchors
work, including cases where the welcome file is in another directory.



Costin


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to