OOOPs, my mistake....sorry... But I meant the book by Jason Hunter...I think it is more or less the standard on servlets...
Regards Sanjeev -----Original Message----- From: Milt Epstein [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 01, 2002 7:23 PM To: [EMAIL PROTECTED] Subject: Re: Passing parameters from a JSP page to a servlet On Tue, 1 Oct 2002, Sanjeev Verma wrote: > 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. FWIW, Jason wrote Java Servlet Programming, published by O'Reilly, now in its second edition. Inside Servlet is by Dustin Callaway. > -----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 > Milt Epstein Research Programmer Integration and Software Engineering (ISE) Campus Information Technologies and Educational Services (CITES) University of Illinois at Urbana-Champaign (UIUC) [EMAIL PROTECTED] ___________________________________________________________________________ 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