can servlet have instance variables?

Answer Posted / shekhar

yes

Is This Answer Correct ?    3 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the common methods that are included in the http servlet class?

573


What is http servlet? Explain with the help of an example.

574


How to get the IP address of client in servlet?

621


Can we refresh servlet in client and server side automatically?

586


Which http method is said to be non-idempotent and idempotent?

601






How can we achieve transport layer security for our web application?

562


Which exception is thrown if the servlet is not initialized properly?

580


What exactly are the functions of servlet?

594


If a servlet is not properly initialized, what exception may be thrown?

619


How to upload a file to the server using servlet?

526


Is servlet synchronized?

595


What is generic servlet class?

594


What's the advantages using servlets than using cgi?

551


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

612


What is preinitialization of a servlet?

578