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 is api in servlet?
What is the difference between jsp and servlet life cycle?
Write all the phases defined in servlet life cycle?
Explain the steps involved in placing a servlet within a package?
List the Different types of servlet?
Why is a constructor needed in a servlet even if we use the init method?
Can you call a jsp from the servlet?
Explain their methods? Tell me their parameter names also have you used threads in servlet?
What do you mean by request dispatcher in servlet? Also explain its methods.
What is httpservlet class?
Why session tracking is needed?
What is the difference between servlet and jsp?
What are the different methods involved in generic servlet?
Explain get and post.
What is called a session?