THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
If you are using more than one object factory, (for example, by including both the Spring and Plexus plugins in your application,) you will need to set the struts.objectFactory property in struts.properties or in one of several XML files via Constant Configuration:
Code Block | ||
---|---|---|
| ||
struts.objectFactory = spring |
Code Block | ||
---|---|---|
| ||
<struts> <constant name="struts.objectFactory" value="spring" /> ... </struts> |
Autowiring
The framework enables "autowiring" by default. (Autowiring means to look for objects defined in Spring with the same name as your object property). To change the wiring mode, modify the spring.autowire
property.
...