Is Servlet Class Thread safe?????? How to make servlet
Thread safe ???
Answer Posted / santhosh kandula
Yes, Servlet is thread safe, because the process of
servlet is request and response. whenever the request comes
then the server can respond. suppose at a time there more
request are came to the server in that which request is the
server can respond, in that time threads will be created
and based on priority of the thread response will be given
for the request.
So, servlets are thread safe.By using thread
properties we make the servlet Thread safe.
| Is This Answer Correct ? | 2 Yes | 23 No |
Post New Answer View All Answers
Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com
What must be implemented by all servlets?
Is it good idea to create servlet constructor?
When is the servlet instance created in the life cycle of servlet? What is the importance of configuring a servlet?
Why servlet is faster than jsp?
What is the purpose of dispatcherservlet properties?
What is the difference between 2 types of servlets?
Define declaration.
How does tomcat servlet container work?
What is the use of servlet wrapper classes?
What is the difference between genericservlet and httpservlet
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
What are all the protocols supported by httpservlet?
What are different ways for servlet authentication?
What is servlet looping or chaining?