can servlet have instance variables?
Answer Posted / neeraj
Ravikiran.chd
If we implement single thread model then how servlet will
handle multiple request at a time??
So its better to avoid the use of instance variable.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are the types of Session Tracking ?
Explain the jar and war files in servlet?
How can we perform any action at the time of deploying the project?
What is difference between PrintWriter and ServletOutputStream?
What are the uses of servlet and what is servlet chaining?
What are common tasks performed by Servlet Container?
What is difference between GenericServlet and HttpServlet?
What is the workflow of a servlet?
What is Servlets and explain the advantages of Servlet life cycle?
What is httpservlet and how it is different from genericservlet?
What is difference between cookies and httpsession?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
How a servlet is unloaded?
Why is http protocol called as a stateless protocol?
Can we get PrintWriter and ServletOutputStream both in a servlet?