stepfinish.jsp
上传用户:yatiankong
上传日期:2014-05-16
资源大小:5604k
文件大小:1k
源码类别:

Applet

开发平台:

Java

  1. <%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
  2. <jsp:useBean id="findstep" class="MyFly.Bean.findstep" scope="request"/>
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  4. <html>
  5. <head>
  6. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  7. <title>无标题文档</title>
  8. </head>
  9. <%
  10. String pw1=(String)request.getParameter("pw1");
  11. String str=(String)session.getAttribute("username");
  12. findstep.setPassword(pw1);
  13. findstep.setUsername(str);
  14. if(findstep.setPsw()==1)
  15. {    
  16.      out.println("<Script language=JavaScript>alert('您的密码修改成功,请牢记的密码');javascript:window.location.href='../default.jsp'; </Script>");
  17.      //response.sendRedirect("../default.jsp");
  18. }
  19. else
  20. {
  21. out.println("<Script language=JavaScript>alert('修改有误');javascript:history.back();</Script>");
  22. }
  23. %>
  24. <body>
  25. </body>
  26. </html>