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 struts 1: form data pop up back when the page is visited again? 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 "struts 1: form data pop up back when the page is visited again?" Watch "struts 1: form data pop up back when the page is visited again?" New topic
Author

struts 1: form data pop up back when the page is visited again?

jaydip rakholiya
Greenhorn

Joined: Nov 11, 2009
Posts: 2
hiiiiii

i m using struts with forms in my application...the problem is when a form is submitted and after updating database when i visit the same page again the previous form
data comes back in form
...why its happenin???
a kishore
Ranch Hand

Joined: Sep 16, 2009
Posts: 82
Hi jaydip,

May be you are using session as scope in your struts-config file. You can change it to request and try.


-HTH

regards,
kishore
jaydip rakholiya
Greenhorn

Joined: Nov 11, 2009
Posts: 2
a kishore wrote:Hi jaydip,

May be you are using session as scope in your struts-config file. You can change it to request and try.


-HTH

regards,
kishore


hi
thanks a lot...that's the solution...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: struts 1: form data pop up back when the page is visited again?
 
Similar Threads
JSP buffer size issue
can't back to previous page in JSF
retrive data from oracle database using struts
struts 2 posting large data
Problem with Form File