URL rewriting is part of the spec. You need to use response.encodeURL()
around every one of the links you put on your site.
For example, instead of:
<a href="page2.jsp">next page</a>
you need to do:
<a href="<%= response.encodeURL("page2.jsp") %>">next page</a>
If you do this, then the servlet container will automatically detect if
cookies are not enabled and will instead put a jsessionid in the URL. Note
that if you do a redirect you should use response.encodeRedirectURL.
-jmc
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com