If you use Session tracking with the Servlet API, it autmotically handles
browsers that don't accept cookies by resorting to URL rewriting. You as a
programmer don't have to explicitly rewrite the URLs. But, U do have to
encode the URL with session ID. The way u do this is...
for redirect: response.encodeRedirectURL(url);
for get's and posts's: response.encodeURL(url);
Why don't you look at the Servlet API?
http://java.sun.com/products/servlet/2.2/javadoc/index.html
----- Original Message -----
From: "Claudio Henrique Vianna" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 23, 2000 10:28 AM
Subject: Where can I find samples of URL Rewriting ?
> Hi,
>
> I'm working with JSP in Tomcat. If I disable the cookies in my
> browser, the session concept is lost and every page
> became a new session. I have been researching another way to detect an
> session in JSP and I read a lot about URL
> Rewriting. But I couldn't find any explanation on how to do this ...
>
> Could somebody tell me where can I find samples of how to do this ?
>
>
> Thanks !!!
>
>
> Cl�udio H. Vianna
>
>
===========================================================================
> 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
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.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