Struts2 regex configuration
问题 I am creating a Struts2 web app. I want an URL like www.xyz.com/portal/orgCode/signin , this orgCode is dynamic, so I am using regex for that. I configure struts.xml like: <constant name="struts.devMode" value="false" /> <constant name="struts.enable.DynamicMethodInvocation" value="true" /> <constant name="struts.action.extension" value=",html,action" /> <constant name="struts.action.excludePattern" value=".*unfiltered.*,.*\\.nofilter" /> <constant name="struts.multipart.maxSize" value=