Pierre M�tras wrote:

> Hi Luke,
>
> > mapping.getInput() works OK if you have the "input" attribute set in
> > the corresponding action tag in struts-config.xml
>
> Yes. I found that one later. I didn't investigate why it worked in version
> 0.5, perhaps due to new bugs that I introduced bugs when I rewrote my
> struts-config.xml file.
>
> Also, I suggested yesterday a change in the ActionServlet.performValidate
> method to the struts-dev list, for calling the ActionForm.validate even when
> the "input" attribute is not set.
>

What would the controller servlet do if the validate() method returned errors in
this case?  It doesn't know where to send the user back to (that's what the
input attribute is there to tell it), and there is no other current mechanism to
let the action that is called know that there were validation problems.

>
> Pierre M�tras

Craig

Reply via email to