Do you save your errors?
// Report any errors we have discovered
if ( !errors.empty() )
{
saveErrors( request, errors );
}
Regards,
Guus
- Original Message -
From: Hartmut Bernecker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 11:55
It might be worthwhile doublechecking the input attribute in your xml
mapping for the request URI you're handling.
If there is no input page specified, the ActionServlet will not know which
page to return control to in order to display the errors it receives from
the validate() method.
HTH
Dave
No, I think I did not!
My validate Method looks like that, it returns Errors back to the
controller servlet.
- Where is the place to save the errors in the request???
public ActionErrors validate(ActionMapping pMapping,
HttpServletRequest pRequest)
{
System.out.println(VALIDIERE);
12:48
Subject: Re: Displaying errors when validating forms (ActionErrors)
No, I think I did not!
My validate Method looks like that, it returns Errors back to the
controller servlet.
- Where is the place to save the errors in the request???
public ActionErrors validate(ActionMapping
org.apache.struts.action.ERROR.
Regards,
Guus
- Original Message -
From: Hartmut Bernecker [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 12:48
Subject: Re: Displaying errors when validating forms (ActionErrors)
No, I think I did not!
My validate Method looks like
: Wednesday, July 18, 2001 7:46 AM
To: [EMAIL PROTECTED]
Subject: Re: Displaying errors when validating forms (ActionErrors)
OK, thank you, I got it!
I don't understand it, but the problems seems to be the place oft the
html:errors/ tag within the JSP. I placed it at the end of the body
element with bad
6 matches
Mail list logo