Tomcat doesn't support URL rewriting in the current release.
Casey Kochmer
[EMAIL PROTECTED]
www.jspinsider.com
>From: Anjana M <[EMAIL PROTECTED]>
>Reply-To: A mailing list about Java Server Pages specification and
> reference <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Date: Wed, 27 Sep 2000 22:50:59 GMT
>
>Hi,
>I just tried a simple url rewriting test and it does nt pass on the session
>information when i disable cookies.
>
>My first jsp is test.jsp is as follows
><%
>String url = response.encodeURL("/testa.jsp");
>session.setAttribute("MyName","aaaa");
>%>
>
><body>
><form action="<%=url%>" method="post">
>name <input type=text name=loginID >
>id <input type=text name=loginPassword >
><BR>
><input type=submit value=submit>
></form>
></body>
></html>
>
>and my second page testa.jsp is
><%
>String name =(String)session.getAttribute("MyName");
>out.println("name is as foll " + name);
>%>
>I am runnning Apache and Tomcat. Am i missing something ?
>
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>Share information about yourself, create your own public profile at
>http://profiles.msn.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
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.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