Are Servlets by default thread safe or not?
thanks in advance
regards
Sudhakar
Answer Posted / naresh
Yes By Default Servlets Are ThreadSafe.....
If you use Insatance VAriables then only Servlets is having Thread Related Problems
Thats way dont recommended to use Instance VAriables in servlets...Its DAnagerous
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is servlet mapping?
What is the difference between get and post methods?
What is life cycle of Servlet?
Tell the new features added in servletrequest interface i.e. Servlet 2.4
What are advantages of servlets over cgi?
What is the difference between Server and Container?
How do we share data using 'getservletcontext ()?
How do servlets work?
What is difference between PrintWriter and ServletOutputStream?
What is servlet? Explain
What are the difference between session and cookies in servlet? Explain
Why are servlets used?
What do you mean by filter in servlet?
What are the life cycle methods of a servlet?
What is http servlet? Explain with the help of an example.