Answer Posted / sowjanya
init() method of the servlet is loaded by container.The init() method called only once in a servlets life.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Who is responsible for writing a constructor?
What are the ways to handle multi-threading in servlets?
What are the types of an http request?
How many objects of a servlet is created?
What is servlet lazy loading?
Differentiate between the get and post method
How to find whether a parameter exists in the request object?
What is called Scriptlet?
Explain the difference between servlet and cgi?
What is a servlet context object?
Explain the steps involved in placing a servlet within a package?
Which event is fired at the time of project deployment and undeployment?
Why servlet is used as controller ? Not JSP? I want complete explation?
What is pure servlet?
How do you configure a centralized error handler in servlets?