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
Explain mvc pattern.
How do you create a cookie using servlet?
How to make sure a servlet is loaded at the application startup?
What do you mean by servlet context?
What are the jobs performed by servlets?
What is a web application and what is it’s directory structure?
What is cookies in servlet with example?
Why are http servlets used in programming?
What is the difference between encodeRedirectUrl and encodeURL?
How can the session in servlet be destroyed?
What are all the ways for session tracking?
What is the procedure for initializing a servlet?
What are the uses of servlet
Explain the working of service() method of a servlet.
Why doesn’t a servlet include main()?