摘要: The HttpServlet's doGet() and doPost() methods take an HttpServletRequest and an HttpServletResponse.The service() method determines whether doGet() or doPost() runs base on the HTTP Method(GET,POST,etc.) of the HTTP request.POST requests have a body;GET requests do not,althogh GET requests can 阅读全文
posted @ 2011-03-31 18:09 来自非洲大草原的食人虎 阅读(218) 评论(0) 推荐(0) 编辑
摘要: The Container initializes a servlet by loading the class,invoking the servlet's no-arg constructor,and calling the servelt's init() method.The init() method (which the developer can override) is called only once in a servlet's life,and always before the servlet can service any client 阅读全文
posted @ 2011-03-31 17:53 来自非洲大草原的食人虎 阅读(203) 评论(0) 推荐(0) 编辑