资源简介
有登陆界面,部门的修改插入删除和员工工资的编辑等操作的简单系统
代码片段和文件信息
package com;
import java.io.*;
import java.util.*;
import java.sql.*;
import javax.naming.*;
import javax.sql.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class DownloadServlet extends HttpServlet
{
//Initialize global variables
String dbDriver = “sun.jdbc.odbc.JdbcOdbcDriver“; //加载驱动
Connection conn;
Statement stmt; //操作数据库的对象
ResultSet rs; //返回数据库处理的结果集
//加载数据库驱动和取得数据库连接
String sql = null;
public void init() throws ServletException
{
try
{
Class.forName(dbDriver);//加载数据库驱动
}
catch(Exception e)
{
e.printStackTrace();
}
}
//Process the HTTP Get request
public void doGet(HttpServletRequest request HttpServletResponse response) throws Servle
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
.CA.... 801 2010-03-03 10:42 wageMGR\.classpath
.CA.... 294 2010-03-03 10:38 wageMGR\.myme
.CA.... 1225 2010-03-02 10:04 wageMGR\.project
.CA.... 88 2010-03-02 20:50 wageMGR\.settings\org.eclipse.core.resources.prefs
.CA.... 83 2010-03-02 20:50 wageMGR\.settings\org.eclipse.core.runtime.prefs
.CA.... 286907 2003-08-05 09:23 wageMGR\lib\msba
.CA.... 67228 2003-08-05 09:23 wageMGR\lib\mssqlserver.jar
.CA.... 59074 2003-08-05 09:23 wageMGR\lib\msutil.jar
.CA.... 3936 2010-03-04 20:50 wageMGR\src\com\DownloadServlet.java
.CA.... 964 2010-03-04 21:07 wageMGR\src\com\LoginCheckServlet.java
.CA.... 2928 2010-03-05 09:28 wageMGR\src\com\RandomCodeServlet.java
.CA.... 1544 2010-03-04 20:50 wageMGR\src\com\RegistBean.java
.CA.... 5151 2010-03-03 10:07 wageMGR\WebRoot\addDepart.jsp
.CA.... 6517 2010-03-03 19:57 wageMGR\WebRoot\addWage.jsp
.CA.... 3880 2010-03-05 09:12 wageMGR\WebRoot\checkLogin.jsp
.CA.... 1782 2010-03-05 10:11 wageMGR\WebRoot\deleteDepart.jsp
.CA.... 1615 2010-03-03 17:16 wageMGR\WebRoot\deletEmp.jsp
.CA.... 1801 2010-03-03 16:06 wageMGR\WebRoot\doAddDepart.jsp
.CA.... 5568 2010-03-03 20:00 wageMGR\WebRoot\doAddWage.jsp
.CA.... 1709 2010-03-04 13:54 wageMGR\WebRoot\doEditDepart.jsp
.CA.... 2483 2010-03-04 16:05 wageMGR\WebRoot\doEditWage.jsp
.CA.... 1955 2010-03-04 20:14 wageMGR\WebRoot\doReset.jsp
.CA.... 5290 2010-03-03 20:33 wageMGR\WebRoot\editDepart.jsp
.CA.... 8361 2010-03-04 14:59 wageMGR\WebRoot\editWage.jsp
.CA.... 8919 2010-03-05 10:16 wageMGR\WebRoot\EmpleeMgr.jsp
.CA.... 1452 2010-03-02 10:05 wageMGR\WebRoot\EmployeeMgr.files\bg_users.gif
.CA.... 1488 2010-03-04 16:51 wageMGR\WebRoot\help.jsp
.CA.... 389426 2010-03-02 10:05 wageMGR\WebRoot\images\2.jpg
.CA.... 1135 2010-03-02 10:05 wageMGR\WebRoot\images\addNote.gif
.CA.... 5551 2010-03-02 10:05 wageMGR\WebRoot\images\bg.gif
............此处省略139个文件信息
- 上一篇:数电课程设计交通信号灯
- 下一篇:高仿百度留言本,仿百度支持留言板
评论
共有 条评论