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
What are the advantages of servlets over traditional cgi?
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 ?
Where do you define dispatcherservlet?
What are all the protocols supported by httpservlet?
Explain web application directory arrangement?
What is the use of request dispatcher interface?
What is the structure of the http response
What is session tracking?
How do cookies work in servlets?
Which are the different ways you can communicate between servlets?
What is the use of send redirect () method?
Difference between GET and POST?
How will two or three servlets interact or communicate with each other?
How printwriter is different from servletoutputstream?
What are the exceptions thrown by servlets? Why?