Big Prob !!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Aditya_Sharma
Posted On:   Wednesday, March 10, 2004 08:25 AM

With relation to session tracking,there is a doubt.Suppose there is a servlet A.I use it to retrieve some content of a table.In same i use out.println("") to introduce some radiobuttons.
I want to retrieve the value of them in servlet B.
How could i do that ?.req.getParameter () works but only on first turn.On closing browser window and again rexecuting it give nullvalues.How one could use session tracking.I feel there is no way because values have to be stored only at instance when Submit button is clicked .If any of u have a way please illustrate me.I will send the code if required.

Re: Big Prob !!

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, March 10, 2004 08:37 AM

...values have to be stored only at instance when Submit button is clicked ...


Welcome to the world of web applications, where as you are now discovering, everything runs on the discrete request-response cycle. The HttpSession is there to help you, on the server side, to store things across multiple requests.

About | Sitemap | Contact