![]() |
![]() |
![]() |
![]() |
Servlet Methods
The Servlet Methods page contains the methods which make the servlet work:
The init method is called once, when the servlet is first loaded into a web server; the destroy method is called when the servlet is shut down. To invoke the init or destroy methods from within Simplicity, use the execute init or execute destroy menu choices in the Program menu.
The service method is executed when a client application (typically a web browser) sends a request. The service method can access information about the request from the ServletRequest object, and can in turn send information back to the client through the ServletResponse object. The Code Sourcerer may be used to assist in writing the code to access these objects.
Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |
![]() |
![]() |
![]() |
![]() |