Struts2 .action extension causing CSS, JavaScript and Struts Dojo to break

风格不统一 提交于 2019-11-26 21:02:09

Try to use struts action exstension with comma like this
<constant name="struts.action.extension" value=","/>.
From the struts2 properties file:

Used by the DefaultActionMapper You may provide a comma separated list, e.g. struts.action.extension=action,jnlp,do The blank extension allows you to match directory listings as well as pure action names without interfering with static resources, which can be specified as an empty string prior to a comma e.g. struts.action.extension=, or struts.action.extension=x,y,z,, struts.action.extension=action,,

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!