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
How do you create an array in java?
What is singleton class example?
What is break and continue statement?
what is thread? : Java thread
Realized?
What is the difference between keyword and identifier?
What is the difference between yielding and sleeping?
What do the thread?class methods run() and start() do?
Define inheritance with reference to java.
What is the difference between private & public & friendly classes?
What is preparedstatement in java?
What is the difference between a window and a frame in java programming?
Can you use abstract and final both with a method?
Is linkedlist thread safe in java?
Why does java doesnt suuport unsigned values?