Hi,
i'm not sure about tomcat 3.1, but I know that URL Rewriting is not supported
under tomcat 3.0 ! You may try resin
1.1 or certainly other JSP engine !
Have a nice day
Veronique
ahfei a écrit :
> thanks . i using tomcat3.1 .
> >URL rewriting isn't supported by every JSP engine, and even if it is supported you
>often have to enable it in a
> >server config file .. What are you using ?
> >
> >veronique
> >
> >ahfei a écrit :
> >
> >> dear laurent andre
> >>
> >> but i had disabled cookies in netscape
> >>
> >> at 2000-4-25 17:01:00 your wrote:
> >> >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
> >>
> >> 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
>
> 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
ahfei a écrit :
> thanks . i using tomcat3.1 .
> >URL rewriting isn't supported by every JSP engine, and even if it is supported you
>often have to enable it in a
> >server config file .. What are you using ?
> >
> >veronique
> >
> >ahfei a écrit :
> >
> >> dear laurent andre
> >>
> >> but i had disabled cookies in netscape
> >>
> >> at 2000-4-25 17:01:00 your wrote:
> >> >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
> >>
> >> 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
>
> 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