Yes I am going with provider option to load validator ------Original Message------ From: Lukasz Lenart To: Struts Developers List ReplyTo: Struts Developers List Subject: Re: Preferred Way to Inject Dependency in plugin Sent: Dec 5, 2012 1:59 PM
2012/12/5 Umesh Awasthi <[email protected]>: > I believe with Struts 3.x we should have such mechanism where we can use > Internal DI to inject dependency in such way :) But you can achieve the same with Maven right now, just specify an optional dependency. Beside Validation class can load default provider http://docs.jboss.org/hibernate/beanvalidation/spec/1.1/api/javax/validation/Validation.html Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] Sent from BlackBerry® on Airtel --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
