See, the class you mention isn't a Struts 2 class. It's a Struts 1 class.

Perhaps I should have asked which version of Struts the book covers.

d.

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

> 
> I'm using Struts 2.0.11.
> 
> As I'm reading a book, I'm not that random implementing code. I checked the
> book several times, but could not find any mention on how ActionErrors is
> activated. Therefor my question. 
> 
> 
> newton.dave wrote:
> > 
> > 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]
> > 
> > 
> > 
> 
> -- 
> View this message in context:
> http://www.nabble.com/ActionErrors.validate%28%29-tp14438447p14452029.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