findfour.jsp

来自「基于struts框架制作」· JSP 代码 · 共 31 行

JSP
31
字号
<%@ page contentType="text/html; charset=gb2312" %>
<%@page import="com.domain.MemberForm"%>
<%@page import="com.tool.Chinese"%>
<jsp:useBean id="dao" scope="page" class="com.dao.MemberDao"/>
<%
String password=Chinese.chinese(request.getParameter("password").trim());
Integer id=Integer.valueOf(request.getParameter("id"));
boolean change=dao.updatePassword(password,id);
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>找回密码步骤四</title>
</head>
 <link href="../css/css1.css" rel="stylesheet" type="text/css">

<body>
<p>&nbsp;</p>
<div align="center">
  <p><strong>
    <%if(change){%>
    密码修改成功!!!
  <%}else{%>
    密码修改失败!!!
  <%}%>
  </strong></p>
<meta http-equiv="refresh" content="3;URL=../index.jsp">
</div>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?