Answer Posted / janet
1. a server loads and initializes the servlet by init()
method.
2.the servlet handles zero or more client's requests
through service() method .
3. the server removes the servlet through destroy() method.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
What are the types of servlets? Explain
Explain get and post.
What is the effective way to make sure all the servlets are accessible only when user has a valid session?
Why HttpServlet class is declared abstract?
What are the uses of servlet
What is the difference between sendredirect() and forward() in a servlet?
What is the difference between genericservlet and httpservlet
How to get the path of servlet in the server?
Explain the difference between servletconfig and servletcontext in servlet?
What are the important functions of filters?
What is the capacity the doget can send to the server?
What are some disadvantages of storing session state in cookies?
What's the difference between authentication and authorization?
Why is a constructor needed in a servlet even if we use the init method?
Difference between forward() method and sendredirect() method ?