Yes you can. You will use the "setAttribute()" method in the HttpServletRequest interface to set the key value pair of the parameter you want to pass to the next servlet in line, and then use a "RequestDispatcher" to forward the request to the next servlet.
Read up a good book, like Inside Servlets by Jason Hunter, to learn servlets. It will go a long way. Regards Sanjeev -----Original Message----- From: Kenny G. Dubuisson, Jr. [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 7:01 PM To: [EMAIL PROTECTED] Subject: Passing parameters from a JSP page to a servlet Can you pass parameters from a JSP page to a servlet? What I want to do is to pass a sessionID and database info via parameters to a servlet that will generate a chart from data in my Oracle dB. I know this is a basic question but I'm just now learning servlets. Thanks, Kenny ___________________________________________________________________________ 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