Servlet Basic Structure
Lifecycle
IMPORTANT: each time the same servlet is invoked, ONLY a new thread is created, NOT a new independent process. |
First Time Servlet Invoked:
|
Nth Time Servlet Invoked (N>1):
|
Servlet Instance is going to be illiminated by server:
|
Standard Methods of the HttpServlet class |
init()
init(ServletConfig c)
|
service(HttpServletRequest req, HttpServletResponse res)
|
doGet(HttpServletRequest req, HttpServletResponse res)
|
doPost(HttpServletRequest req, HttpServletResponse res)
|
doDelete
|
doOptions
|
doTrace
|
destroy
|
getServletContext
|