THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- The
id
attribute in the Spring configuration corresponds to the class attribute in the action configuration. - The
singleton
attribute is set tofalse
, meaning that Spring will create a new Action class upon each request, as SAF Struts 1 would do.
Warning | ||
---|---|---|
| ||
Remember: registering Actions with Spring is not required. The Spring alternative is there if you need it, but the framework will automatically create Actions objects from the action mappings. But, if you want to use Spring to inject your Actions, the option is there. |