can servlet have instance variables?
Answer Posted / neeraj
Ravikiran.chd
If we implement single thread model then how servlet will
handle multiple request at a time??
So its better to avoid the use of instance variable.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Define the lifecycle for executing a jsp page.
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
What is servlet instance?
Why is a constructor needed in a servlet even if we use the init method?
What's the advantages using servlets than using cgi?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
What's the architecture of a servlet package?
Difference between doget and dopost?
Can we override servlet service method?
Which interface should be implemented by all servlets?
What are the two important api's in for servlets?
What are life cycle methods of a servlet?
Describe some assignments that are executed by servlet container?
Explain the architechure of a servlet?
What are the type of protocols used in httpservlet?