Hi all, I need to show some prefilled value in a html form then take new inputs from the user and save the changes.
I am doing this by prepopulating an ActionForm, putting it into request as an Attribute then displaying it onto the jsp. Its working fine and the changed value are also available in next Action. But the problem arises when some error is returned by ActionForm.validate() method In this case the same jsp is shown but the prepopulated values are gone. Is there any way to keep the prepopulated values in the jsp when input jsp is shown due to ActionErrors returned by validate() method. Do I need to store the prepopulated ActionForm in session instead of request? --RahulJoshi