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?
Answer Posted / abilash
servlet: it must implement SingleThreadModel for thread safe
jsp: isthreadSafe="false"
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What do you mean by deployment descriptor?
Can a jsp be called using a servlet?
What do you mean by request dispatcher in servlet? Also explain its methods.
How does Cookies work in Servlets?
what do you understand by url rewriting?
Why filter is used in servlet?
What are the differences between forward() method and sendredirect() methods?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
What is the need of session tracking in web application?
Are Servlets Thread Safe? How to achieve thread safety in servlets?
What is servlet mapping?
What is servlet and how it works?
What is called Session Tracking?
What's the advantages using servlets than using cgi?
What is the use of httpservletrequestwrapper?