On Thu, 9 Aug 2001, YueMa wrote:
> Hi there,
> How can I config Tomcat to use URL rewriting as session tracking
> mechanism?
>
URL rewriting is not something a servlet container does for you -- it's
something you have to do in your HTML output yourself.
For example, in a JSP page if you create a hyperlink link this:
<a href="menu.jsp">Go to the menu</a>
you would write instead:
<a href="<%= response.encodeURL(\"menu.jsp\") %>">Go to the menu</a>
or equivalent coding if you are rendering HTML with a servlet.
>
> Thanks!
>
>
>
>
Craig