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


Please Help Members By Posting Answers For Below Questions

What do you mean by url pattern in servlet?

814


What are advantages of servlets over cgi?

809


How to get the server information in a servlet?

880


How do you get the ip address of the client in servlet?

737


How to find whether a parameter exists in the request object?

860


What's the advantages using servlets than using cgi?

717


What is the use of attribute in servlets?

762


What is setattribute in servlet?

749


Is java servlet still used?

752


How do we translate jsp?

763


What do you mean by interservlet communication?

769


What is a servlet engine?

732


What are the differences between the servletconfig interface and the servletcontext interface?

822


What is Client-Server Computing?

2079


Differentiate between the web server and application server?

746