首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

struts2转为之通配符,转向结果使用动态值

2013-09-28 
struts2转向之通配符,转向结果使用动态值action name*_* class{1}Action method{2}result nam

struts2转向之通配符,转向结果使用动态值

        <action name="*_*" class="{1}Action" method="{2}">        <result name="paging">/admin/{1}/paging.jsp</result>        <result name="to">/admin/{1}/{2}.jsp</result>        <result name="input">/admin/{1}/to{2}.jsp</result>        <result name="topaging" type="redirectAction">{1}_paging</result>        <result name="{1}">/admin/{1}/{2}.jsp</result>        </action>
使用通配符,可以减少工作量,大大缓解开发进度!

热点排行