Can we define constructor in Servlet class?
Answer Posted / amit tomar
we can't define constructor in Servlet class
Is This Answer Correct ? | 3 Yes | 14 No |
Post New Answer View All Answers
What are the disadvantages of storing session state in cookies?
How can we refresh automatically when new data is entered into the database?
What is the difference between Difference between doGet() and doPost()?
What are the different mode that servlets can be used?
Explain the architechure of a servlet?
What is generic servlet class?
Is it possible to have a constructor inside the servlet?
What exception should be thrown when servlet is not properly initialized?
How does tomcat servlet container work?
Once the destroy() method is called by the container, will the servlet be immediately destroyed? What happens to the tasks(threads) that the servlet might be executing at that time?
Why do you use session tracking in httpservlet?
How httpservlet is different from the genericservlet?
What do you mean by deployment descriptor?
Explain get and post.
What are the differences between forward() method and sendredirect() methods?