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

Is servlet a server side scripting language?

565


What do you mean by mime type?

561


What is called a session?

630


What is the effective way to make sure all the servlets are accessible only when user has a valid session?

575


What is the difference between CGI and Servlet?

598






What is MIME Type?

669


What are the differences between forward() method and sendredirect() methods?

555


What do you mean by cgi?

536


What is servlet in web technology?

582


Explain servlet life cycle?

625


Explain the difference between get and post method in servlet?

613


What is the difference in between the httpservlet and generic servlet?

620


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 ?

616


What is session tracking?

704


What are the uses of servlet and what is servlet chaining?

569