I am working on a Struts prototype. I have the basic flow going between a
couple of pages. What I am trying to get working now is the ActionError
part. In my ActionForm I am detecting errors, creating ActionError and
sticking them in ActionErrors which is returned from the validate method.
In my input JSP, I have tried both the <html:errors/> and the
<struts:errors/> tags. But this is what is happening. First even if there
are multiple errors only a single one is being displayed, usually it is the
first error.
Second, shouldn't the input text fields be re-populated? They are always
blank. I saw an example in the Action class's perfrom method where errors
are stored in the request. Is this necessary in the ActionForm's validate
method too?
Last question, there <html:form>, <struts:form> and <form:form> which one to
use?
Thanks for your help!!!
Erich Kilmer
Bell+Howell