My application contains 4 forms, for the first time I created application by running four JSPs successfully, after that I tried to create another application, while creating I see a strange thing the when after I submitted forst page, it supposed to go second page with blank fields, but here the old values are showing in the fields. what could be the issue here and how to clean the form fields when new page enters?
Is the form bean for your transaction session scoped? You may need to add code to the reset method of your form to clear out the values between requests.
Is the form bean that you have specified for the action the same form bean that is used by the JSP. You may need to call reset on the form used by the JSP before the JSP is executed.
You can call that reset method from the action class if you like. If you call reset on the form before just before your action class ends and the fields that you've reset still have values, then I would assume that the problem is that your browser is caching the page.