Servlet basics
-
Direct start from Web browser: input directly URL of JSP page into Web browser http://servername:8080/JSP/HelloWorld.jsp Start by “Action” attribute of Form tag Start when you push the summitting button on form Start from JSP (or Servlet) : Start by being specified with other JSP files
56p nguyenvanhabk1 04-09-2012 122 16 Download
-
The servlet is constructed, then initialized with the init method. Any calls from clients to the service method are handled. The servlet is taken out of service, then destroyed with the destroy method, then garbage collected and finalized.GenericServlet implements the Servlet and ServletConfig interfaces. It provides simple versions of the lifecycle methods init and destroy and of the methods in the ServletConfig interface.
49p nguyenvanhabk1 04-09-2012 89 10 Download
-
The web page is derived from data that changes frequently, results from search engines and order confirmation pages at on-line stores, The web page uses information from databases or other server-side sources.For a general Servlet you must subclass javax.servlet.GenericServlet...
68p hoangdoanisuit 10-09-2011 104 26 Download