TAILIEUCHUNG - Java Server Pages: A Code-Intensive Premium Reference- P22

Java Server Pages: A Code-Intensive Premium Reference- P22:Before you begin reading Pure JSP Java Server Pages, you might want to take a look at its basic structure. This should help you outline your reading plan if you choose not to read the text from cover to cover. This introduction gives you an overview of what each chapter covers. | Classes Classes for the package are GenericServlet ServletInputStream and servletoutputstream. Their methods are described in the following sections. GenericServlet Class The GenericServlet class was created to provide a basic foundation of new servlets. It provides default life cycle methods and default implementations of the Servletconfig s methods. GenericServlet Method public GenericServlet The GenericServlet method is an empty default constructor. GenericServlet has no parameters returns no value and throws no exceptions. destroy Method public void destroyO The destroy method is executed when the servlet is removed from the running service. It performs any cleanup of resources that were allocated in the init method. destroy has no parameters returns no value and throws no exceptions. getInitParameter Method public getInitParameter name The getinitParameter method returns a String containing the value of the initialization parameter keyed by the passed in name. getinitParameter throws no exceptions. Parameters Returns getInitParameterNames Method public getInitParameterNames The getinitParameterNames method returns an Enumeration containing all of the names for each initialization parameter. getinitParameterNames has no parameters and throws no exceptions. Returns getServletConfig Method public ServletConfig getServletConfig The getServletConfig method returns a Servletconfig object containing any startup configuration information for this servlet. getServletConfig has no parameters and throws no exceptions. Returns ServletConfig getServletContext Method public ServletContext getServletContext The getServletContext method returns a Servletcontext object containing information about the servlet s network service. getServletContext has no parameters and throws no exceptions. Returns ServletContext - 211 - getServletInfo Method public .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
3    6    0    13-08-2020
14    5    0    13-08-2020
5    6    0    13-08-2020
18    4    0    13-08-2020
4    3    0    13-08-2020
TÀI LIỆU LIÊN QUAN