Thank you for your help .... Here are some more question / precision
( Sorry but I'm new in JSP/ Servlets so I have basics questions):
I don't understand what you mean with "where do you get the value from?
" Which values are you talking about ?
I think that my problem is more basic , it seems, of course, that I will have
to solve the new problem you told me about the form POST method, but I
also tried replacing POST with GET, for testing because I have a lots of
parameters, and I still have the problem !!!
My session ID is different in the jsps files.
As when I use simple link ! Should I pass 'page.jsp?param=value' to the
encodeUrl or should I first encode the "page.jsp" and then use:
<A HREF=<%encodedURL%>?param=value> I did some test and ain't able to have same
session while browsing my different pages !
Thanks again
Veronique
David Wall a écrit :
> > * In a form :
> > <% String newURL=response.encodeUrl("page.jsp"); %>
> > <FORM METHOD=POST ACTION=<%=newURL%> >
>
> Good questions,
>
> Since form POSTs don't use parameters in the URL, it seems like there would
> be a problem. The session id for URL rewriting would need to be implemented
> as a hidden input field or the like, but that means hard-coding the name of
> the parameter used for session ids, and where do you get the value from?
>
> David
===========================================================================
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