can servlet have instance variables?
Answer Posted / ramana
it is not recomended to use instance variables in servlet...if necessary use static variables..
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the type of method for sending request from http server?
What is a servlet engine?
Why the container loads server at the application startup and how?
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?
What is life cycle of Servlet?
What is servlet in tomcat?
What is meant by servlet? What are the parameters of the service method?
What is a servlet?
What is the difference between Servlets and Applets?
What's the servlet interface?
Is java servlet still used?
What are the phases of servlet life cycle?
Can we use the constructor, instead of init(), to initialize servlet?
What are the life-cycle methods for a servlet?
What do you mean by web applications?