File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes how to clear request object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Reply locked New topic

how to clear request object

karthi prabhu

Joined: Apr 22, 2008
Posts: 6
hi i am facing a problem in jsp page.when i click refresh button request object is not getting cleared.
Sidharth Pallai
Ranch Hand

Joined: Apr 21, 2008
Posts: 134

If you are using struts then adding <forward redirect="true"> in the action-mapping will definetly work.

Thanks & Regards
Sidharth Pallai
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33117

Please don't post the same question in multiple forums

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: how to clear request object
It's not a secret anymore!