Configuring spring controller properties partially with annotation in class and partially in config xml -


is possible define few properties of spring controller annotation in class , few other properties in spring-servlet.xml. can use both annotations , xml config file same controller or use either of two.i.e. example,

@controller   @command name annotation   //some properties   public class controller   {  } 

and in servlet.xml:

<bean id="controller" class = "the classpath"> <property name="someotherproperty" value="somevalue1"></property> <property name="someotherproperty" value="somevalue2"></property> </bean> 

you don't want that, because mess up. code, have problem finding right configuration specific part of project.


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

java.lang.NoClassDefFoundError When Creating New Android Project -

Decoding a Python 2 `tempfile` with python-future -