First of all thank you, Zvika!

I use JBoss 2.4 with Tomcat 4.01 and I didn't find any element in the DTD of
the Deployment-Descriptor, which is able to force URLRewriting! So I will
use the default properties, which is to use only URLRewriting, when cookies
are not supported or allowed. Unfortunately I don't exactly understand your
remarks to self made this!

Thanks

Philip




> To the best of my knowledge, there is no mechanism defined in the spec
that
> allows you to force using URLRewriting rather than cookies. Some vendors
> (BEA's Weblogic5.1, for instance) may let you do that, some won't.
> However, you can implement such a mechanism yourself:
> Use a Map stored in the ServletContext object that holds keys of session
> id's (that you will generate yourself) and values that are name-value
> containers (maps, again). supply some utility methods for embedding the
> session_id parameter in a cookie or a url, and you've got yourself exactly
> what needed.
>
> zm.

===========================================================================
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

Reply via email to