To the best of my knowledge, URL rewriting has nothing to do with form
submittal.

You probably need to add this within your <form> :

<input type="hidden" name="sesessionid" value="<%= session.getId() %>">

Hope this helps.

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of James Skehan
Sent: Tuesday, January 18, 2000 9:44 AM
To: [EMAIL PROTECTED]
Subject: losing session data using URLrewriting


My basic architecture is as follows:

servlet -> jsp -> servlet -> jsp

In the first servlet, I create a session and place data in it. This data
is
visible in the following jsp page (I
sendRedirect(encodeRedirectURL("blah"))
to it) but not to the servlet that this jsp page invokes via a form
submission. The session data is null. I'm using IIS with ServletExec 2.2
and
I'm employing URLrewriting in the case that cookies in the client browser
are not supported. My question is why is this session data null?
If cookies are supported at the client, this works fine and no session
data
is lost!

==========================================================================
=
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

smime.p7s

Reply via email to