Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
struts.rest.handlerOverride.xml=myXml

struts.xml

Instruct Struts to use the REST action mapper:

Code Block
xml
xml

<constant name="struts.mapper.class" value="rest" />

Because the REST plugin uses the Convention plugin, some settings need to be set in struts.xml:

...