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 difference between PrintWriter and ServletOutputStream?
What is called Session Tracking?
What are the objects involved when a servlet receives a call from client?
How to generate the server side programming and the advantages of it over the other languages?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
How the typical servlet code look like ?
Explain url encoding?
What is the difference between servlet and filter?
What are life cycle methods of a servlet?
In the servlets, we are having a web page that is invoking servlets ,username and password? which is checks in database? Suppose the second page also if we want to verify
What is a servlet engine?
What exactly is a servlet?
What is servlet and list its types?
What are the types of Session Tracking ?
Is servlet synchronized?