Answer Posted / sanpar
the life cycle of the servlet:
Servlet class is loaded.
Servlet instance is created.
init method is invoked.
service method is invoked.
destroy method is invoked.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Why doesn’t a servlet include main()?
If my browser does not support cookie, and my server sends a cookie instance what will happen?
What are different methods of session management in servlets?
Explain the servlet context.
How printwriter is different from servletoutputstream?
What are the difference between RMI and Servlets?
What is servletconfig?
Explain the difference between servletconfig and servletcontext in servlet?
request parameter how to find whether a parameter exists in the request object?
What is the servletconfig object?
What do you mean by the servlet chaining?
Why are http servlets used in programming?
What is servlet? Explain
Can servlet have a constructor ?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?