"G. Goerke" wrote:
> [...]
> >Tomcat 3.1 RC1 supports URL rewriting.
> >
> > <http://jakarta.apache.org/builds/tomcat/release/v3.1_rc1/>
> >
> >I can't say I've done any extensive testing, but based on a few simple tests
> >(using only JSP pages) it seems to work.
>
> Nevertheless, URL-Rewriting didn't work either with the version of tomcat, I
> downloaded using Your link.
>
> I also didn't find any hint in the configuration-files, where to enable
>URL-Rewriting.
>
> Is there any trick to get it working?
The only "trick" is to use the encodeURL()/encodeRedirecURL() methods to
get the session ID inserted into the URL. Like I said, I haven't done any
extensive testing of this in Tomcat 3.1 RC1, but a simple JSP page with
a
<a href="<%= response.encodeURL("some.jsp") %>">another page</a>
worked fine for me. Make sure you disable cookies though. URL rewriting is
only activated when a session ID cookie is not received with the request.
Hans
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets