91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 4.61MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-08-16
  • 語言: Java
  • 標(biāo)簽: java??web??shopping??

資源簡介

本源代碼是自己珍藏的一個(gè)完整項(xiàng)目.有很多經(jīng)常會用到,值得借鑒的編程思想,現(xiàn)發(fā)布出來與大家分享,希望對大家有所幫助!

資源截圖

代碼片段和文件信息

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?Servlettle>“);
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?Servlettle>“);
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
}

}

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件????????753??2007-09-18?10:26??Shopping\.classpath

?????文件????????297??2007-09-18?10:26??Shopping\.mymetadata

?????文件???????1226??2007-09-18?10:26??Shopping\.project

?????文件???????1269??2007-09-18?10:26??Shopping\WebRoot\AdminLogin.jsp

?????文件???????2494??2007-09-18?10:26??Shopping\WebRoot\Buy.jsp

?????文件???????1706??2007-09-18?10:26??Shopping\WebRoot\Confirm.jsp

?????文件???????1097??2007-09-18?10:26??Shopping\WebRoot\GetCategoryChilds.jsp

?????文件??????48452??2007-09-19?11:55??Shopping\WebRoot\Index.jsp

?????文件???????1419??2007-09-18?10:26??Shopping\WebRoot\Login.jsp

?????文件????????666??2007-09-18?10:26??Shopping\WebRoot\Order.jsp

?????文件???????3507??2007-09-18?10:26??Shopping\WebRoot\ProductSearch.jsp

?????文件???????2287??2007-09-20?11:08??Shopping\WebRoot\ProductSearchAJAX.jsp

?????文件???????9153??2007-09-20?09:30??Shopping\WebRoot\Register.jsp

?????文件???????3543??2007-09-20?11:00??Shopping\WebRoot\relative.jsp

?????文件??????11084??2007-09-19?11:34??Shopping\WebRoot\ShowProducts.jsp

?????文件????????910??2007-09-18?10:26??Shopping\WebRoot\TestContextParam.jsp

?????文件????????434??2007-09-18?10:26??Shopping\WebRoot\TestTag.jsp

?????文件???????1383??2007-09-18?10:26??Shopping\WebRoot\UserLogin.jsp

?????文件???????8334??2007-09-18?10:26??Shopping\WebRoot\UserModify.jsp

?????文件????????354??2007-09-20?09:32??Shopping\WebRoot\Validate.jsp

?????文件???????2666??2007-09-20?09:36??Shopping\WebRoot\WEB-INF\web.xml

?????文件????????546??2007-09-18?10:26??Shopping\WebRoot\WEB-INF\tag\HW.tld

?????文件??????31909??2007-09-18?10:26??Shopping\WebRoot\WEB-INF\lib\commons-fileupload-1.1.1.jar

?????文件??????65621??2007-09-18?10:26??Shopping\WebRoot\WEB-INF\lib\commons-io-1.2.jar

?????文件?????307510??2007-09-18?10:26??Shopping\WebRoot\WEB-INF\lib\jcommon-1.0.5.jar

?????文件????1095935??2007-09-18?10:26??Shopping\WebRoot\WEB-INF\lib\jfreechart-1.0.2.jar

?????文件?????456729??2007-09-18?10:26??Shopping\WebRoot\WEB-INF\lib\mysql-connector-java-3.1.13-bin.jar

?????文件???????2357??2007-09-19?11:12??Shopping\WebRoot\WEB-INF\classes\TestContextParamServlet.class

?????文件????????158??2007-09-18?10:26??Shopping\WebRoot\WEB-INF\classes\config\shopping.properties

?????文件???????2930??2007-09-19?11:12??Shopping\WebRoot\WEB-INF\classes\com\bjsxt\shopping\util\DB.class

............此處省略744個(gè)文件信息

評論

共有 條評論

相關(guān)資源