Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Paul Clapham
Ron McLeod
Jeanne Boyarsky
Tim Cooke
Sheriffs:
Liutauras Vilda
paul wheaton
Henry Wong
Saloon Keepers:
Tim Moores
Tim Holloway
Stephan van Hulst
Carey Brown
Frits Walraven
Bartenders:
Piet Souris
Himai Minh
Forum:
Struts
Any alternative to this way of session handling in struts?
senthil kumar m
Greenhorn
Posts: 16
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi ,
The following is the flow..
JSP1->MyForm->MyAction->JSP2
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
jsp
1 to jsp 2,
is it possible to access the data from MyForm
Thanks for your time,
Chris Montgomery
Ranch Hand
Posts: 141
posted 11 years ago
1
Number of slices to send:
Optional 'thank-you' note:
Send
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
Struts
documentation.
What does a metric clock look like? I bet it is nothing like this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
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
More...