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 default initialization in java servlet?
What is the difference between Servlet Request and Servlet Context when calling a Request Dispatcher?
What is the need of servlet filters?
What is Servlet API used for connecting database?
What is the difference between a generic servlet and http servlet?
What do you mean by cgi and what are its drawbacks?
What is called Scriptlet?
What are important features of Servlet 3?
What is the difference between using getSession(true) and getSession(false) methods?
What is URL Encoding?
Can filter be used as request or response?
Write a hello world program using servlets.
What is cgi and what are its drawbacks?
What is servlet interface?
Why is httpservlet declared abstract?