资源简介
本系统主要采用JSP为编程语言,数据库采用 MYSQL。可以方便理财管理需要。主要包括收入统计功能、查询功能、理财功能。

代码片段和文件信息
package com.action;
/**
* 管理员登陆 增加 修改 删除 删除登陆日志
*/
import java.io.IOException;
import java.util.List;
import java.util.StringTokenizer;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import com.bean.AdminBean;
import com.bean.SystemBean;
import com.util.Constant;
import com.util.MD5;
public class AdminServlet extends HttpServlet {
/**
* Constructor of the object.
*/
public AdminServlet() {
super();
}
/**
* Destruction of the servlet.
*/
public void destroy() {
super.destroy(); // Just puts “destroy“ string in log
// Put your code here
}
/**
* The doGet method of the servlet.
*
* This method is called when a form has its tag value method equals to get.
*
* @param request the request send by the client to the server
* @param response the response send by the server to the client
* @throws ServletException if an error occurred
* @throws IOException if an error occurred
*/
public void doGet(HttpServletRequest request HttpServletResponse response)
throws ServletException IOException {
doPost(requestresponse);
}
/**
* The doPost method of the servlet.
*
* This method is called when a form has its tag value method equals to post.
*
* @param request the request send by the client to the server
* @param response the response send by the server to the client
* @throws ServletException if an error occurred
* @throws IOException if an error occurred
*/
public void doPost(HttpServletRequest request HttpServletResponse response)
throws ServletException IOException {
response.setContentType(Constant.CONTENTTYPE);
request.setCharacterEncoding(Constant.CHARACTERENCODING);
try{
String method=request.getParameter(“method“).trim();
AdminBean loginbean = new AdminBean();
HttpSession session = request.getSession();
session.setMaxInactiveInterval(1200);
SystemBean systembean = new SystemBean();
String sysdir = systembean.getDir();
if(method.equals(“one“)){//admin登录
String username = request.getParameter(“username“);
String password = request.getParameter(“password“);
if(username == null||username.trim().equals(““)){
request.setAttribute(“message“ “请正确输入用户名!“);
request.getRequestDispatcher(sysdir+“/login.jsp“).forward(request response);
}
else if(password == null||password.trim().equals(““)){
request.setAttribute(“message“ “请输入密码!“);
request.getRequestDispatcher(sysdir+“/login.jsp“).forward(request response);
}
else{
String md5password = MD5.MD5(password);
String agent = request.getHeader(“user-agent“);
StringTokenizer st = new StringTokenizer(agent“;“);
String useros=st.nextToken();
String loginip = request.getRemot
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 802 2012-05-15 13:23 086JSP银行客户理财投资系统\ylc\.classpath
文件 282 2012-05-15 12:16 086JSP银行客户理财投资系统\ylc\.myme
文件 1221 2012-05-15 12:25 086JSP银行客户理财投资系统\ylc\.project
文件 10167 2012-05-15 13:04 086JSP银行客户理财投资系统\ylc\src\com\action\AdminServlet.java
文件 7968 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\src\com\bean\AdminBean.java
文件 2633 2018-03-10 14:51 086JSP银行客户理财投资系统\ylc\src\com\util\DBO.java
文件 650 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\src\com\util\Filter.java
文件 836 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\src\com\util\Log.java
文件 1980 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\src\com\util\SmartRequest.java
文件 27350 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\src\com\util\SmartUpload.java
文件 147 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\src\com\util\SmartUploadException.java
文件 838 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\if
文件 2418 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\if
文件 1227 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\if
文件 838 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\if
文件 4208 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\if
文件 2914 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\if
文件 5822 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\if
文件 10889 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\images\admin_m.swf
文件 6221 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\images\Admin_st
文件 876 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\images\bg.jpg
文件 315 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\images\bt_login.gif
文件 179 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\images\bullet.gif
文件 20734 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\images\calendar.js
文件 26508 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\images\Common.js
文件 3143 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\images\date.js
文件 835 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\images\default.jsp
文件 168 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\images\HardWare.gif
文件 85 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\images\img_u.gif
文件 835 2012-05-15 12:17 086JSP银行客户理财投资系统\ylc\WebRoot\admin\images\index.jsp
............此处省略151个文件信息
相关资源
- JSP企业人事管理系统设计(源代码+论
- 实现一个图书管理系统
- JAVA JSP公司财务管理系统 源代码 论文
- JSP+MYSQL旅行社管理信息系统
- JSP,SQL,MVC的选课系统
- 基于JSP的学生宿舍管理系统(源码 数
- JSP选课管理系统
- mysql jsp网站源码下载
- JSP做的化妆品商城
- Jsp购物车实例
- 基于JSP的校友信息管理系统(添加数
- 基于jsp的bbs论坛 非常详细
- jsp oracle通讯录
- JSP学生信息管理系统 Mysql数据库
- 使用jsp servlet做的投票系统
- JSP登陆验证 实现JSP用户名 密码 验
- jsp基于servlet 图书馆管理系统
- jsp学生成绩管理系统.rar
- 在线考试系统源代码(jsp)
- 超级好的纯jsp写的聊天室
- JSP 网上购物网页项目
- JSP+mysql新闻发布系统.rar
- jsp 学生信息管理系统设计与实现
- jsp与SQL Server数据库实现的客户注册登
- 简易教学管理系统(jsp spring struts h
- 学生信息管理系统 JSP MySQL
- jsp ajax 三级联动菜单
- jsp新闻公告与最新消息系统(具备添
- JSP课程设计-留言本 jsp mysql tomcat实现
- jsp 做的 班级管理网站
评论
共有 条评论