can servlet have instance variables?
Answer Posted / debapriya maity
Yeah we surely can provide instance variable,but ur servlet
implements MultithreadModel,its is not the right
approach,better use local varibles ,using SingleThreadModel
approach cause perfomance degradation
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is a web application and what is it’s directory structure?
What is life cycle of Servlet?
What do you mean by chaining in servlet?
What are the annotations used in servlet 3?
What is the use of httpservletrequestwrapper?
Why do we have servlet wrapper classes?
What are Servlets?
List out the difference between ServletConfig and ServletContext?
What is session tracking?
Explain the difference between servletconfig and servletcontext in servlet?
What are different methods of session management in servlets?
How will two or three servlets interact or communicate with each other?
How do we call one servlet from another servlet?
What is meant by session? Tell me something about httpsession class?
what is multiple server?