File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts 1: form data pop up back when the page is visited again?
 
Similar Threads
Problem with Form File
can't back to previous page in JSF
JSP buffer size issue
retrive data from oracle database using struts
struts 2 posting large data