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

What is array sorting in java?

557


What are the two parts of a conditional statement?

517


What is the use of set in java?

612


What exactly is methodology?

486


Difference between java and javascript

586






Which java collection does not allow null?

717


What is java beans?

576


What is a byte array?

587


Can we have more than one package statement in source file ?

590


How to make a read-only class in java?

595


Explain the difference between serializable and externalizable in java?

539


What is a function in java?

570


What are different types of constants?

518


Explain scope or life time of local variables in java?

559


Why java is a platform independent? Explain

534