This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to refresh a jsp page

 
srinivasrao yakala
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i m using jsp page. in that im using html and bean tags and i m also validating the form by using validation frame work. every thing is fine but when i return to the same page after inserting the values in a data base the previous values are there in the text boxes. how can i refresh the value when i again comes to the same page.
remember i m using validator frame work

thank in advance
regards
srinivas
 
Brent Sterling
Ranch Hand
Posts: 948
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using session or request scoped forms? If you are using request-based, then you might just need to add redirect="true" to your forward that redisplays your page. This will cause all the values in the request to be lost. If you are using session-based, then it might involve implementing the reset method on your form (I actually don't use session-based forms enough to know the details).

- Brent
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic