A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Any alternative to this way of session handling in struts?
senthil kumar m
Joined: Nov 28, 2010
Feb 14, 2011 06:08:20
The following is the flow..
If I want to maintain the session,then I will write coding in execute method of MyAction,to put the datas in the session using request object. Is this way of handling the data is good?
or is there any other way to get the datas from
1 to jsp 2,
is it possible to access the data from MyForm
Thanks for your time,
Joined: Jan 14, 2004
Feb 14, 2011 16:35:04
You can certainly use the session. Depending on how long you want to hold on to your variables, you may find that the request object will suffice.
Check out JavaBeans and Scope within the
I agree. Here's the link:
subject: Any alternative to this way of session handling in struts?
Problem with session
Data from ActionForm without using bean:write
form field population done right
display form class values on success page
Collection Storing problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014