资源简介
包含整个网上购物商城的全部源代码。系统中涉及到的技术:jsp+msql+jquery+css+js
代码片段和文件信息
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class TestContextParamServlet extends HttpServlet {
/**
* Constructor of the object.
*/
public TestContextParamServlet() {
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 {
response.setContentType(“text/html“);
PrintWriter out = response.getWriter();
out
.println(““);
out.println(““);
out.println(“ tle>A Servlet tle>“);
out.println(“ “);
out.print(“ This is “);
out.print(this.getClass() + this.getServletConfig().getServletContext().getInitParameter(“a“));
out.println(“ using the GET method“);
out.println(“ “);
out.println(““);
out.flush();
out.close();
}
/**
* 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(“text/html“);
PrintWriter out = response.getWriter();
out
.println(““);
out.println(““);
out.println(“ tle>A Servlet tle>“);
out.println(“ “);
out.print(“ This is “);
out.print(this.getClass());
out.println(“ using the POST method“);
out.println(“ “);
out.println(““);
out.flush();
out.close();
}
/**
* Initialization of the servlet.
*
* @throws ServletException if an error occure
*/
public void init() throws ServletException {
// Put your code here
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2013-03-16 23:37 Shopping\
文件 753 2007-09-18 10:26 Shopping\.classpath
文件 297 2007-09-18 10:26 Shopping\.myme
文件 1226 2007-09-18 10:26 Shopping\.project
目录 0 2013-03-16 23:37 Shopping\SQL\
文件 1029 2007-09-19 12:03 Shopping\SQL\Shopping.sql
目录 0 2013-03-16 23:37 Shopping\src\
目录 0 2013-03-16 23:37 Shopping\src\com\
目录 0 2013-03-16 23:37 Shopping\src\com\bjsxt\
目录 0 2013-03-16 23:37 Shopping\src\com\bjsxt\shopping\
目录 0 2013-03-16 23:37 Shopping\src\com\bjsxt\shopping\category\
文件 1748 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\category\Category.java
文件 6286 2007-09-18 15:06 Shopping\src\com\bjsxt\shopping\category\CategoryService.java
文件 112 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\category\GradeOutOfBoundsException.java
目录 0 2013-03-16 23:37 Shopping\src\com\bjsxt\shopping\client\
文件 1118 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\client\Cart.java
文件 410 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\client\CartItem.java
目录 0 2013-03-16 23:37 Shopping\src\com\bjsxt\shopping\order\
文件 627 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\order\OrderDAO.java
文件 993 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\order\OrderMgr.java
文件 7338 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\order\OrderMySQLDAO.java
文件 823 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\order\SalesItem.java
文件 1079 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\order\SalesOrder.java
目录 0 2013-03-16 23:37 Shopping\src\com\bjsxt\shopping\product\
文件 1441 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\product\Product.java
文件 1061 2007-09-18 16:20 Shopping\src\com\bjsxt\shopping\product\ProductDAO.java
文件 3093 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\product\ProductMgr.java
文件 7888 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\product\ProductMySQLDAO.java
文件 939 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\product\ProductOracleDAO.java
文件 1844 2007-09-19 11:02 Shopping\src\com\bjsxt\shopping\product\ProductSearchFormBean.java
目录 0 2013-03-16 23:37 Shopping\src\com\bjsxt\shopping\stat\
............此处省略740个文件信息
相关资源
- Servlet JSP和Spring MVC初学指南_带书签
- 基于JSP的图书馆管理系统
- 基于JSP的实验室教学管理系统
- JSP新闻发布系统,有数据库,源代码
- JSP教学培训网站设计与实现
- mysql-connector-java-5.1.22.rar
- 学校教务管理系统JSP+SQL2000
- 基于JSP学校教务管理系统
- Android手机终端点菜系统
- Servlet JSP和Spring MVC初学指南
- 基于jsp简单的BBS论坛
- eclipse 下各种 jar 包
- html/jsp网站后台精美界面
- JSP养老保险管理系统
- jsp校园宿舍管理系统
- Ueditor与jsp、SpringMVC整合结合文档使用
- java jsp代码生成器
- jsp 代码 交易系统
- JForum论坛系统
- 图书馆管理系统JSP+MySQL
- 基于JAVA WEB 的论坛网站开发工程
- 网上订餐系统毕业设计完整版jsp+ser
- Echarts连接数据库
- 学生信息管理系统源码+数据库+构架文
- 使用JSP+Servlet+JavaBean(MVC)设计的网上
- 基于JSP的学生管理系统
- jsp论坛
- JSP课程设计包含投票系统、通讯簿管
- 毕业设计JSP健身俱乐部网站
- jsp+Mysql相册管理系统
评论
共有 条评论