转自:https://www.jb51.net/article/35621.htm 
1
一: 2 3 4 复制代码 代码如下: 5 <a href="userAction.do?flag=user_regist">注册</a> 6 7 二: 8 9 复制代码 代码如下: 10 <a href="<s:url action="userAction"> 11 <s:param name="flag" value="'user_regist'" /> 12 </s:url>">注册</a> 13 //注意这里的action名都是在sturts.xml中配置的名字。 14 [\s\S ]*\n 15 16 三: 17 18 复制代码 代码如下: 19 javascript的location.href。略。

 

posted on 2016-07-25 10:40  Sharpest  阅读(359)  评论(0编辑  收藏  举报