登录页面可以使用,输入正确可以正常登录,但是输入错误url会自动增加login字段,如:http://localhost:8080/myproject/login/login.action 登录页面action的struts是按下面这样配的
<action name="login" class="......" method="login">
<result name="success" type="redirect">/index.action</result>
<result name="error">/index.jsp</result>
</action>
页面中有验证码,要向后台请求rand.action,不知道对这个问题有没有影响。
<action name="login" class="......" method="login">
<result name="success" type="redirect">/index.action</result>
<result name="error">/index.jsp</result>
</action>
页面中有验证码,要向后台请求rand.action,不知道对这个问题有没有影响。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货