B
Ben Jessel
Hi,
I've got a struts form. It has a rest method implemented. However,
when I go to the page with the input fields of the form, they are
populated with data that I have entered some time before. As if the
form is not being reset once it has been finished with. Is there some
setting to clear it once the Struts Action associated with it has
called return mapping.findforward()? I notice that reset is called
after submission, just before it is populated by the controller. Reset
it not called the very first time that the form is displayed. I cannot
clear it with javascript as this may cause problems when I am returned
to the form if I've missed a field.
I've got a struts form. It has a rest method implemented. However,
when I go to the page with the input fields of the form, they are
populated with data that I have entered some time before. As if the
form is not being reset once it has been finished with. Is there some
setting to clear it once the Struts Action associated with it has
called return mapping.findforward()? I notice that reset is called
after submission, just before it is populated by the controller. Reset
it not called the very first time that the form is displayed. I cannot
clear it with javascript as this may cause problems when I am returned
to the form if I've missed a field.