Hi evryone..can anyone help me with my problem here? I have an AddUserForm bean that is used by the AddUserAction class. What it does is get the information about the user, validates it and add it to the database. After the data is successfully added the action will be forwarded to a JSP that list all available users.
My problem is when I try to add another user it displays the previous input information. Can anyone kindly give information on how to clear this without using the value="" in my JSP/html page? Where can I reset the value of my FORMBEAN to null or ""?
Joined: Apr 27, 2006
Ok I've resolved this problem..I just set the scope="request" and all the input fields were set to null.
subject: form displaying the last value from the form bean?