I have a problem with struts.
I have a form which has a few elements and a button. When I click on the button without entering any valid values in the form..the action goes to the validate method of the form bean and shows the appropriate error message using html:errors.
Now I enter all valid values and click on submit button. On clicking submit it opens a new window with the results in the new window plus the parent window will be submitted..goes to validate method and clears off the errors.
All this happens fine. But in the parent window, the latest values entered by the user is not shown. The values shown are one request previous values. But the child window opens fine with the last request values.
How do I make the parent form retain the values last entered by the user.
I have a form which has a few elements and a button. When I click on the button without entering any valid values in the form..the action goes to the validate method of the form bean and shows the appropriate error message using html:errors.
Now I enter all valid values and click on submit button. On clicking submit it opens a new window with the results in the new window plus the parent window will be submitted..goes to validate method and clears off the errors.
All this happens fine. But in the parent window, the latest values entered by the user is not shown. The values shown are one request previous values. But the child window opens fine with the last request values.
How do I make the parent form retain the values last entered by the user.