Fork me on GitHub
Edit on GitHub

« back to Convention Plugin

Converting application from Codebehind to Convention Plugin

Changes required

When REST plugin is used

Add these constants to struts.xml

<constant name="struts.convention.action.suffix" value="Controller"/>
<constant name="struts.convention.action.mapAllMatches" value="true"/>
<constant name="struts.convention.default.parent.package" value="rest-default"/>
<constant name="struts.convention.package.locators" value="example"/>