sult name="loginerror">/login.jsp</result> [html] view plaincopyprint? 01.<result name="checkacode" type="json"> 02. <param name="root">cacodet</param> 03. </result> 04. <result name="register">/login.jsp</result> 05. <result name="registererror">/personreg.jsp</result> 06. <result name="login">/index.jsp</result> 07. <result name="loginerror">/login.jsp</result> <result name="checkacode" type="json"> <param name="root">cacodet</param> </result> <result name="register">/login.jsp</result> <result name="registererror">/personreg.jsp</result> <result name="login">/index.jsp</result> <result name="loginerror">/login.jsp</result>
3.在register.jsp中 [html] view plaincopyprint? 01.<script type="text/javascript"> 02. function reImg(){ 03. var img = document.getElementById("picture"); 04. img.src=img.src + "?"; 05. } 06. </script> 07. 08. 09. 10. <TR> 11. 12. <TD class=mustcontent><SPAN>*</SPAN>验证码:</TD> 13. 14. <td><input type="text" id="acodet" name="acode" style="width:110px" value="${randomCode}"><span id="acode"><a href="javascript:void(0);" onclick="reImg();" class="changeacode"><img id="picture" src="${pageContext.request.contextPath }/csdn/MemberAction_checkCodeImage.action?nowtime=" &nb << 上一页 [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] 下一页
|