Jeromy, Thanks.
I asked this in there, and received no response.
I will look at the use of @Inject.
--- Jeromy Evans <
jeromy.evans@...> wrote:
> Hi Jay,
>
> This question about the use of Struts 2 should be asked in the
> struts-users forum.
>
> The quick answer is that XWork provides a DI mechanism. The
> ValidatorFactory can be injected into a property or constructor using
> the @Inject annotation in objects created by the framework. See the
> beans in struts-default.xml and the usages of @Inject,
> Container.getInstance and Container.inject for more information.
>
> Jay Bose wrote:
> > While I used WebWork-2, and the XWork associated with it, I was able to
> programmatically
> > retrieve action validation using the ActionValidatorManagerFactory.
> >
> > Now, it seems this class was removed.
> >
> > Any suggestions on how to programmatically get a ValidatorFactory instance?
> >
> >
> >
> ____________________________________________________________________________________
> > Be a better friend, newshound, and
> > know-it-all with Yahoo! Mobile. Try it now.
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
dev-unsubscribe@...
> > For additional commands, e-mail:
dev-help@...
> >
> >
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
dev-unsubscribe@...
> For additional commands, e-mail:
dev-help@...
>
>
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ---------------------------------------------------------------------
To unsubscribe, e-mail:
dev-unsubscribe@...
For additional commands, e-mail:
dev-help@...