上传者: 44776801
|
上传时间: 2022-04-08 16:21:38
|
文件大小: 17.11MB
|
文件类型: RAR
JavaWeb教材配套资源,内含每个章节的Demo项目源码。包含教材最后完整的网上商城案例源码,包含sql及项目源码。
public class TestServlet01 extends HttpServlet {
private static final long serialVersionUID = 1L;
protected void doGet(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
this.doPost(request, response);
}
protected void doPost(HttpServletRequest request,
HttpServletResponse response) throws ServletException, IOException {
PrintWriter out = response.getWriter();
out.print("this servlet is created by eclipse");
}
}