Public Member Functions | |
void | init () |
void | destroy () |
Protected Member Functions | |
void | doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException |
void | doPost (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException |
|
This method is called when the Controller object is about to be destroyed. It ensures the DBAO's connection is terminated after it is no longer needed. |
|
This function is called when a GET method is received from the client. It merely forwards the call to doPost. |
|
This function is called when a GET method is received from the client. It identifies the action request from the client and calls the function that realizes the action. It then dispatches the request to the correct JSP page. |
|
This method is executed when the Controller object is instantiated. It makes sure a DBAO can be found or that at least an error flag is raised. |