资源简介
jsp网上购物系统源代码(金尚商城)完整版
代码片段和文件信息
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
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 753 2007-09-18 10:26 Shopping\.classpath
文件 297 2008-02-23 13:23 Shopping\.myme
文件 1226 2007-09-18 10:26 Shopping\.project
文件 1029 2007-09-19 12:03 Shopping\SQL\Shopping.sql
目录 0 2008-11-09 16:10 Shopping\SQL
文件 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 2008-11-09 16:10 Shopping\src\com\bjsxt\shopping\category
文件 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 2008-11-09 16:10 Shopping\src\com\bjsxt\shopping\client
文件 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 2008-11-09 16:10 Shopping\src\com\bjsxt\shopping\order
文件 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 2008-11-09 16:10 Shopping\src\com\bjsxt\shopping\product
文件 631 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\stat\ProductStatItem.java
文件 2198 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\stat\SalesCountServlet.java
文件 1176 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\stat\StatService.java
目录 0 2008-11-09 16:10 Shopping\src\com\bjsxt\shopping\stat
文件 357 2007-09-18 10:26 Shopping\src\com\bjsxt\shopping\tag\HelloWorldTag.java
............此处省略744个文件信息
相关资源
- 毕业设计-售后服务管理系统论文+源码
- JAVA JSP客房预订管理系统 源代码 论文
- jsp MVC 框架的教材管理系统
- JSP网页民航售票系统课程设计源代码
- JAVA JSP+MYSQL二手汽车销售系统
- JSP网上购物系统125016
- -简单通讯录管理系统的实现-Jsp+Serv
- javaweb问答系统使用redis+jsp+mysql
- 基于JavaWeb实现的登录及注册
- 学生信息管理系统jsp
- jsp网上书店设计
- jsp程序设计
- 改良完成的jsp程序设计第十章手机销
- 基于web的航班订票系统
- 图书管理系统mvc模式+javaweb
- jsp之图书管理系统
- 基于jsp的校园一卡通管理系统
- jsp学生成绩管理系统123894
- 学生成绩管理系统 jsp+servlet+模态框
- JSP留言板系统前台:游客增查+后台管理
- 基于Jsp的简单论坛BBS的设计与实现内
- 用jsp实现的web项目:交友信息发布网
- springboot+JPA+JSP实现登录功能
- 基于JSP的房产中介系统的设计与实现
- 基于javaweb的图书管理系统
- JSP基于WEB的图书馆借阅系统的设计与
- 基于servlet与jsp开发的java学生信息管理
- 基于JSP家庭理财系统
- JAVA JSP教师档案管理系统
- 基于jsp的网上订餐系统
评论
共有 条评论