让action名称中支持斜杠

只需要加入一个常量定义,便可支持action名称中使用斜杠。

<constant name="struts.enable.SlashesInActionNames" value="true"/>

<action name="c/*" class="xxAction" method="{1}"></action>

猜你喜欢

转载自jqs1124.iteye.com/blog/1910862