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
What is the servlet?
Which method is called when reference variable is passed in system.net?
Which httpsession object is used to view and manipulate information about a session?
What do you mean by cgi and what are its drawbacks?
How do you get the ip address of the client in servlet?
What are the ways to handle multi-threading in servlets?
How to read request headers from servlets?
Is servlet synchronized?
What is servlet collaboration?
Explain the concept of ssi ?
What are the mechanisms used by a servlet container for maintaining session information?
How can you use a servlet to generate a plain text instead of html?
What is the purpose of requestdispatcher interface?
Who is responsible for writing a constructor?
What is a servlet context?