struts2 convention run in embedded

Jetty (embedded)
When using this plugin with Jetty in embedded mode, you need to set the following constants:

<constant name="struts.convention.exclude.parentClassLoader" value="false" />
<constant name="struts.convention.action.fileProtocols" value="jar,code-source" />

你可能感兴趣的:(tomcat,struts,jetty,embedded)