Hello!
I've got some troubles using session-tracking between servlets and jsp's. I've tried
it using the web-servers LWS from Gefion and tomcat 3.0 and 3.1.
My first choice was the LWS, because it supports URL-Rewriting and I don't want to use
cookies. But everytime I switch from a servlet to an jsp or back, request.getSession()
provides a new session-object, although switching between two servlets or to jsp's is
no problem.
Therefore my first question is:
Doesn't LWS support session-tracking between servlets and jsps or is there a trick, I
need to know?
My second choice tomcat 3.0 works fine and I got no problem mixing jsp's with
servlets. But it doesn't support URL-rewriting.
Someone some time ago wrote, that tomcat 3.1 would support URL-rewriting, so I tried
it today. But unfortunately it didn't encode the URLs. And to my surprise it reports
two different session-ids in jsp's and servlets although they both seem to belong to
the same instance!
Is there any trick using session-tracking between jsp and servlets without any
troubles, or is the webserver-implementation the reason of the problem?
And does anybody know a free web-server, where I wouldn't get these difficulties (and
that supports URL-Rewriting)?
Thanks for reading!
Gunnar
===========================================================================
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