You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Johann Uhrmann <jo...@xpecto.com> on 2003/09/16 09:26:12 UTC

How to enforce URL-rewriting?

Hello,

is there a way to enforce URL rewriting in tag libraries?
(e.g. the common tag library and the struts tags)

As far as I know, setting
cookies="false"
in the context should disable all cookies and therefore
force URL rewriting to be used.

Unfortunately, some browsers fool Tomcat (4.1.24) and make it
think that session cookies are sent back. This suppresses
URL-rewriting and therefore breaks the application if the
session cookies are actually suppressed.

The strange thing is that 'cookies="false"' does not seem to
enforce the rewriting.

Kind regards,

Hans Uhrmann