JSP is by default thread safe or not? what is the meaning of
isThreadSafe="true" and isThreadSafe="false". Explain it?
Thanks,
Seenu
Answer Posted / t.kumar
JSP can access by more than one user at the same time. We
can make JSP thread safe by using JSP attribute in directive
page tag. Thread safe JSP can take one request at one time
to processing. In thread safe JSP single instance of JSP
Servlet loaded. By default JSP is not thread safe, we have
to use isThreadSafe attribute of page. When isThreadSafe
attribute set as false, no multiple request send by JSP
engine to handle.
<%@ page isThreadSafe="false" %>
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Define "Access specifiers" in java.
What are the advantages of java inner classes?
What is the use of java?
From the two, which would be easier to write: synchronization code for ten threads or two threads?
Difference between notify() method and notifyall() method in java?
Can there be an abstract method without an abstract class?
what is synchronization and why is it important? : Java thread
Is jdk required on each machine to run a java program?
What is meant by call by reference?
What causes memory leaks in java?
Is it possible to override the main method?
What is complexity in java?
What is the static field modifier?
Define locale.
Is arraylist sorted in java?