Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
jaydip rakholiya
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic