THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block |
---|
struts.rest.handlerOverride.xml=myXml |
struts.xml
Instruct Struts to use the REST action mapper:
Code Block | ||||
---|---|---|---|---|
| ||||
<constant name="struts.mapper.class" value="rest" />
|
Because the REST plugin uses the Convention plugin, some settings need to be set in struts.xml:
...