In the Step 2, put the value of UserId in a hidden field of HTML (openup.htm)
In the step 3 when the Servlet is called, it will get the value for UserId from the
hidden field.
This is quickest and simplest method
Regds
Murugan K Patham
Ext 2712
>>> [EMAIL PROTECTED] 01/04 12:47 PM >>>
Hi all
1. I have a servlet from where I know the value of variable 'userID'
2. The above servlet opens up an html page (openup.htm) using
response.sendRedirect
3. I set some values in the above html page and when i press SEND button
it
calls another servlet to insert the values in database
4. In the servlet in step 3 I need the value of variable userID from step
1
I donno how to do this. Anybody has an idea? I have a presentation in
school
in like 4 hrs. If somebody knows it pls reply ASAP
TIA
Hamid
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html