美文网首页
Struts2动态调用

Struts2动态调用

作者: 蘋果_283e | 来源:发表于2017-04-11 03:06 被阅读0次

<action name="login" class="controller.T2">login!方法名.action

http://localhost:8080/day1/qq/login!find.action

通配符

<action name="login_*" class="controller.UserAction" method="{1}">

<result name="success">/success.jsp</result>

<result name="tolist" type="redirect">/login_list</result></action>

<a href="<%=request.getContextPath() %>/login_del">删除</a>

<a href="<%=request.getContextPath() %>/login_update">修改</a>

相关文章

网友评论

      本文标题:Struts2动态调用

      本文链接:https://www.haomeiwen.com/subject/obzsattx.html