JSP + Servlet state
1 posts in topic
Flat View  Flat View

Posted By:   Khoa_Nguyen
Posted On:   Friday, October 4, 2002 09:31 AM

I have 2 servlets and a JSP file. I transfer the first servlet's parameters to the JSP file by dispatcher. In the JSP file, I have a form, when I submit, It will go to second servlet, but when i press submit, all the parameters that I got from the first servlet will disappear 'cause the Form doesn't send your the parameters. I tried to put all the parameters into the forms' Hidden fields, and it works fine. But I just want to ask: is there any way around to do it? Without hidden fields..

Thanks .

Re: JSP + Servlet state

Posted By:   Christopher_Koenigsberg  
Posted On:   Friday, October 4, 2002 09:57 AM

Put them in the HttpSession, where you get/setAttribute.

About | Sitemap | Contact