Table 8-1: Summary of Important Servlet and JSP Methods Servlet or Method JSP init Servlet jspInit JSP service Servlet doGet Servlet doPost Servlet destroy Servlet jspDestroy JSP Required Description/Notes No Performs one-time initializations. No Same as init. JSP author may provide code in JSP. No Handles the request. Not a good idea to code an implementation _jspService JSP Yes Handles the HTTP request from the JSP page. The JSP author does not have to implement it. It is implemented by the JSP translator. No Handles an HTTP GET request. Required only if the servlet must handle GET requests. No Handles an HTTP POST request. Required only if the servlet must handle POST requests. No Performs cleanup immediately prior to servlet purge by server. No Performs cleanup immediately prior to JSP purge by server.
The UK economy was the first in the world to enter the Industrial Revolution, and initially concentrated on heavy industry such as shipbuilding, coal mining, steel production and textiles.All our UK Web Hosting plans are very cheap and they fully support PHP mysql Dreamweaver frontpage and much more.