Hi,

    As I said in a previous mail, I have many jsp files that call each
other using links.  To avoid 'disable cookies' problem, I'd like to
encode the URL. I tried both :
<A HREF=<%=response.encodeURL("mypage.jsp")
%>?TheDb=<%=allInstances.getTheDbName()%> >
and
String instanceURL = response.encodeUrl("instance.jsp");
<A HREF=<%=instanceURL%>?TheDb=<%=allInstances.getTheDbName()%> >

    Instance.jsp, I display the session ID (session.getId()), and it
changes each time i call the instance jsp page. Did i forget something ?

   I also wanted to be able to keep same session while my errorPage is
called, is there a way to encode the errorPage URL ?

    Thanks for your help
    veronique

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to