How ThreadSafe page attribute will be working in Servlet as
well as in JSP?Automatically ThresdSafe is true in JSP so
service method will be destroy in each and every request or
not?so how thresd will handle srevice method?



How ThreadSafe page attribute will be working in Servlet as well as in JSP?Automatically ThresdSaf..

Answer / abilash

servlet: it must implement SingleThreadModel for thread safe

jsp: isthreadSafe="false"

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Servlets Interview Questions

What are the advantages of cookies?

0 Answers  


How we can get ip address of client in servlet?

0 Answers  


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

0 Answers  


What is servlet and its use?

0 Answers  


What are the servlet events?

0 Answers  






What is the difference between a generic servlet and http servlet?

0 Answers  


How can we upload the file to the server using servlet?

0 Answers  


What is called a session?

0 Answers  


What is string tokenizer?

0 Answers  


What is context switching?

6 Answers  


how to use servlets with j2ee ?

2 Answers   Tech Mahindra,


How do you define a servlet?

0 Answers  


Categories