资源简介
JSP找回密码例子,本人已经调试,可以运行
代码片段和文件信息
package password;
import javax.servlet.*;
import javax.servlet.http.*;
import java.io.*;
import java.util.*;
/**
* title: 项目实战 Stage2
*
* Description: ACCP 4.0
*
* Copyright: Copyright (c) 2005
*
* Company: jb-aptech.com.cn
*
* @author Dong Ping
* @version 1.0
*/
public class FindpasswordsuccessServlet extends HttpServlet {
private static final String CONTENT_TYPE = “text/html; charset=GBK“;
//Initialize global variables
public void init() throws ServletException {
}
//Process the HTTP Get request
public void doGet(HttpServletRequest request HttpServletResponse response) throws
ServletException IOException {
response.setContentType(CONTENT_TYPE);
PrintWriter out = response.getWriter();
out.println(““);
out.println(“tle>FindpasswordsuccessServlet tle>“);
out.println(““);
out.println(“密码已经发送到您的邮箱!
“);
out.println(“继续登录“);
out.println(““);
out.println(““);
out.close();
}
//Process the HTTP Post request
public void doPost(HttpServletRequest request HttpServletResponse response) throws
ServletException IOException {
doGet(request response);
}
//Clean up resources
public void destroy() {
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 11102 2005-06-29 10:17 password\classes\package cache\password.dep2
文件 1717 2005-06-28 13:52 password\classes\package cache\test.dep2
文件 1638 2005-06-28 13:43 password\classes\password\FindpasswordsuccessServlet.class
文件 3049 2005-06-28 13:41 password\classes\password\LoginServlet.class
文件 3694 2005-06-28 13:44 password\classes\password\mailpasswordservlet.class
文件 2902 2005-06-28 10:11 password\classes\password\SendMail.class
文件 1612 2005-06-27 16:54 password\classes\password\ShowActionMessageServlet.class
文件 432 2005-06-27 16:10 password\classes\password\SystemException.class
文件 599 2005-06-29 10:17 password\classes\password\Unti
文件 3531 2005-06-28 13:52 password\classes\password\UserManager.class
文件 1031 2005-06-28 13:52 password\classes\test\TestSendMail.class
文件 1697 2005-06-28 13:38 password\classes\test\TestUserManager.class
文件 420 2005-06-28 11:29 password\LoginManage\findpasswordsuccessservlet.html
文件 492 2005-06-27 13:32 password\LoginManage\loginservlet.html
文件 507 2005-06-27 17:21 password\LoginManage\mailpasswordservlet.html
文件 413 2005-06-27 16:48 password\LoginManage\showactionmessageservlet.html
文件 1638 2005-06-28 13:43 password\LoginManage\WEB-INF\classes\password\FindpasswordsuccessServlet.class
文件 3049 2005-06-28 13:41 password\LoginManage\WEB-INF\classes\password\LoginServlet.class
文件 3694 2005-06-28 13:44 password\LoginManage\WEB-INF\classes\password\mailpasswordservlet.class
文件 2902 2005-06-28 10:11 password\LoginManage\WEB-INF\classes\password\SendMail.class
文件 1612 2005-06-27 16:54 password\LoginManage\WEB-INF\classes\password\ShowActionMessageServlet.class
文件 432 2005-06-27 16:10 password\LoginManage\WEB-INF\classes\password\SystemException.class
文件 3531 2005-06-28 13:52 password\LoginManage\WEB-INF\classes\password\UserManager.class
文件 54665 2004-09-03 10:17 password\LoginManage\WEB-INF\lib\activation.jar
文件 121070 2002-09-05 14:29 password\LoginManage\WEB-INF\lib\junit.jar
文件 280984 2004-09-03 10:17 password\LoginManage\WEB-INF\lib\mail.jar
文件 21137 2004-09-03 10:17 password\LoginManage\WEB-INF\lib\unittest.jar
文件 1462 2005-06-29 10:10 password\LoginManage\WEB-INF\web.xm
文件 500465 2005-06-29 10:17 password\LoginManage.war
文件 12050 2005-07-12 16:38 password\password.jpx
............此处省略45个文件信息
- 上一篇:蒙特卡罗定位仿真
- 下一篇:java多线程小游戏
评论
共有 条评论