That means "your" session manager works with cookie ! So, if cookies
are disabled, it doesnt work!
i think....
ahfei wrote:
>
> dear all:
>
> i made a test jsp program to study URL rewriting ,but it seems don't work. .
>
> test1.jsp
> <%
> session.setAttribute("hello","abcd");
> response.sendRedirect(response.encodeRedirectURL("test2.jsp"));
> %>
>
> test2.jsp
> <%
> out.println(session.getAttribute("hello"));
> %>
>
> when i run the test1.jsp with cookie disabled,url rewriting don't work, and
>test2.jsp return a null string.
>
> can somebody help me?
>
> thanks in advance!
>
> ahfei
> [EMAIL PROTECTED]
>
> ===========================================================================
> 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
===========================================================================
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