JSP is by default thread safe or not? what is the meaning of
isThreadSafe="true" and isThreadSafe="false". Explain it?

Thanks,
Seenu

Answer Posted / srinu

JSP is by default its not a thread safe suppose we prevent
the JSP page from thread safe then

if threadsafe="true" it means only one thread can access an
object at a time.it handle only client request at time.it
should implements singleThreaded model interface.


isThreadsafe = false implies, jsp is not thread safe and
so it can handle multiple client requests.i.e means number
of clients access the only object

Is This Answer Correct ?    6 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How finally used under exception handling?

511


What is the latest version of java?

579


How would you dynamically allocate memory to an array?

591


Can we serialize arraylist in java?

538


What is the difference between serializable and externalizable interfaces?

565






Is java based on c?

532


What languages are pass by reference?

536


How do you create a null object?

506


Why singleton is not thread safe?

561


Explain working of call by reference function invoking.

585


What is bitwise complement?

498


What are the differences between graph and tree?

643


What does java edition mean?

529


Can we change the value of static variable?

495


What is the use of beaninfo?

586