This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Regarding values not clearing in the Form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Regarding values not clearing in the Form" Watch "Regarding values not clearing in the Form" New topic
Author

Regarding values not clearing in the Form

Rick Charles
Greenhorn

Joined: Jul 27, 2006
Posts: 25
Hi

i am navigating from page1 to page2 and in page2 am performing a DB operation and then when i navigate back to page1 i am finding that the values which were in page1 remained the same. i really dont know why this happens.Is there anything wrong with the struts-config.xml file.

Thanks in advance
Rick...
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
When you navigate back to page 1, you must re-read the values from the database, just as if you were diplaying it for the first time.


Merrill
Consultant, Sima Solutions
 
Consider Paul's rocket mass heater.
 
subject: Regarding values not clearing in the Form
 
Similar Threads
Setting and removing session attributes - is this the right way to do this?
variable carryover
how to include one jsf page in another jsf page ?
how to include one jsf page in another jsf page ?
Navigation problem in struts