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
Why filter is used in servlet?
What is called servlet container?
What does the term localization refer to?
What are different methods of session management in servlets?
What do you mean by default initialization in java servlet?
why we should override only no-agrs init() method.
Can servlet have a constructor ?
Explain in brief the directory structure of a web application?
What's the use of servletcontext?
When a servlet accepts a call from a client, it receives two objects. What are they?
Explain jsessionid?
Is tomcat a servlet container?
Servlet is pure java object or not?
Differentiate between the get and post method
Which interface should be implemented by all servlets?