THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Turning on Spring support in WebWork is simply a matter of installing the latest Spring jars in to your classpath and then adding the following entry to webworkaction.properties:
Code Block |
---|
webwork.objectFactory = spring |
If you want to change from the default autowiring mode, which is to auto-wire by name (i.e. to look for beans defined in Spring with the same name as your bean property), then you'll also need a setting for this in your webworkaction.properties:
Code Block |
---|
webwork.objectFactory.spring.autoWire = type |
...