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
Which http method is said to be non-idempotent and idempotent?
What is the requirement of servlet config and servlet context implemented and how are they implemented?
Explain the architechure of a servlet?
What are the benefits of using servlet over cgi?
What is difference between GenericServlet and HttpServlet?
What are the type of protocols used in httpservlet?
What is a servlet?
When should you prefer to use doget() over dopost()?
What are the types of Session Tracking ?
What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?
What is called Session Tracking?
What’s the difference between forward() and sendredirect() methods?
How to notify an object in session when session is invalidated or timed-out?
Why do we have servlet listeners?
Difference between forward() method and sendredirect() method ?