Are you using Struts 1 or Struts 2?

You need to slow down and stop implementing random code and get a handle on
what exactly it is you're using as compared to what you think you're using.

It will make answering your questions much, much easier if we're all on the
same page.

d.

--- AbelMacAdam <[EMAIL PROTECTED]> wrote:

> 
> Hi all,
> 
> I just started reading a book about Struts, and are now learning about
> Error
> Handling. 
> 
> To validate the input of the user in the forum, you need to write your own
> implementation of org.apache.struts.action.ActionErrors. The class
> ActionErrors has its own method validate. This method I can change to suite
> my wishes. The only problem is, how is this method called. I can not find
> any direct call of MyActionErrorsImplementation.validate(myMap, myRequest)
> in my (jsp?) code.
> 
> Am I correct in assuming validation is done automatically by the
> application
> server? And if so, how? Or am I thinking in the wrong direction? If so,
> what
> do I read?
> 
> TIA,
> Abel
> 
> PS. I use Struts 2.0.11
> -- 
> View this message in context:
> http://www.nabble.com/ActionErrors.validate%28%29-tp14438447p14438447.html
> Sent from the Struts - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to