推荐星级:
  • 1
  • 2
  • 3
  • 4
  • 5

基于JAV的网上商城项目完整源码. import java.io.IOException; impo

更新时间:2021-06-23 06:30:20 大小:5M 上传用户:xzxbybd查看TA发布的资源 标签:jav网上商城java 下载积分:8分 评价赚积分 (如何评价?) 打赏 收藏 评论(0) 举报

资料介绍

基于JAV的网上商城项目完整源码.

import xception;

import ntWriter;


import vletException;

import pServlet;

import pServletRequest;

import pServletResponse;



public class TestContextParamServlet extends HttpServlet {


/**

* Constructor of the object.

*/

public TestContextParamServlet() {

super();

}


/**

* Destruction of the servlet. <br>

*/

public void destroy() {

troy(); // Just puts "destroy" string in log

// Put your code here

}


/**

* The doGet method of the servlet. <br>

*

* 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 {


ContentType("text/html");

PrintWriter out = Writer();

out

.println("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");

ntln("<HTML>");

ntln("  <HEAD><TITLE>A Servlet</TITLE></HEAD>");

ntln("  <BODY>");

nt("    This is ");

nt(Class() + ServletConfig().getServletContext().getInitParameter("a"));

ntln(", using the GET method");

ntln("  </BODY>");

ntln("</HTML>");

sh();

se();

}


/**

* The doPost method of the servlet. <br>

*

* 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, HttpServl

部分文件列表

文件名大小
JAVA网上商城项目完整源码/
JAVA网上商城项目完整源码/.classpath1KB
JAVA网上商城项目完整源码/.mymetadata
JAVA网上商城项目完整源码/.project1KB
JAVA网上商城项目完整源码/SQL/
JAVA网上商城项目完整源码/SQL/Shopping.sql1KB
JAVA网上商城项目完整源码/WebRoot/
JAVA网上商城项目完整源码/WebRoot/AdminLogin.jsp1KB
JAVA网上商城项目完整源码/WebRoot/Buy.jsp2KB
JAVA网上商城项目完整源码/WebRoot/Confirm.jsp2KB
JAVA网上商城项目完整源码/WebRoot/GetCategoryChilds.jsp1KB
...

【关注B站账户领20积分】

全部评论(0)

暂无评论

上传资源 上传优质资源有赏金

  • 打赏
  • 30日榜单

推荐下载