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
explain the advantages of servlet life cycle?
What is the use of httpservletrequestwrapper and httpservletresponsewrapper?
Explain the servlet context.
Explain their methods? Tell me their parameter names also have you used threads in servlet?
If servlet receives multiple requests, how many objects will it create?
What is java servlet session?
What are the key methods that are involved in processing of http servlets?
What is the inter-servlet communication?
How many objects of a servlet is created?
Which event is fired at the time of project deployment and undeployment?
What are different methods of session management in servlets?
What are the two important api's in for servlets?
Why jsp is better than servlet?
Can we override destroy method in servlet?
how many jsp scripting elements are there and what are those?