2012/10/1 Aum Strut <aum.str...@gmail.com>: > i was thinking about a way like Spring DI used to do something like > > <bean type="com.foo.MyInterface" class="com.foo.MyImpl1" name="impl1" > > <property name="a" value="Run time class"/> > </bean> > > It would be more convient to have injection like this way.
Just annotate your setter with @Inject(name="a") and create constant in struts.xml. If "a" is a String value. Regards -- Ćukasz + 48 606 323 122 http://www.lenart.org.pl/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org