can servlet have instance variables?
Answer Posted / ravikiran.chd
yes and we can make them thread safe by implementing
SingleThreadModel
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Explain the difference between generic servlet and http servlet?
What is servlet invoker?
What are the supporting protocol by HttpServlet ?
What are the life-cycle methods for a servlet?
What are the differences between forward() method and sendredirect() methods?
What are all the advantages of servlet over cgi?
What is webservlet?
What are different methods of session management in servlets?
How httpservlet is different from the genericservlet?
Can you send an authentication error from a servlet?
How do you create a cookie using servlet?
How do you communicate in between Applets and Servlets?
What are common tasks performed by Servlet Container?
What is the difference between the getrequestdispatcher(string path) method of javax.servlet.servletrequest interface and javax.servlet.servletcontext interface?
How can the session in servlet can be destroyed?