This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The page that it has to redirect to always has always been filled in before. When the page is shown, all the form fields should be empty. I tried to accomplish that in my servlet by deleting the form bean (userBean). But all the fields still have values so this appears not to be working. Is it so that the struts tags themselves remember the previously entered values? How can I make sure that the values are deleted when this page is shown?
Thanks for your advice! [ November 27, 2006: Message edited by: Tim Storms ]
It sounds like you have your actions configured to use session scope. In that case that is one use for the "reset" method on your form. Struts will call this method an you can set the values back to defaults.