Save the user ID in the http session or set it as a hidden variable in
openup.htm from the first servlet..
Farooqui Hamid <[EMAIL PROTECTED]>@JAVA.SUN.COM> on 01/04/2001
02:47:12 PM
Please respond to "A mailing list for discussion about Sun Microsystem's
Java Servlet API Technology." <[EMAIL PROTECTED]>
Sent by: "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: Global Variable
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