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
Define servlet mapping?
What is life cycle of Servlet?
What are the important functions of filters?
What is servlet in simple terms?
What is setattribute in servlet?
Why jsp is better than servlet?
How printwriter is different from servletoutputstream?
What are the different session tracking techniques?
what is multiple server?
What are the different methods of session management in servlets?
What is the use of welcome-file-list?
A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?
How does tomcat servlet container work?
What is the use of httpservletresponsewrapper?
What are the annotations used in servlet 3?