If isThreadSafe attribute is set to false
like
<%@ page isThreadSafe="false" %>
the container may create multiple instances of the JSP servlet to handle
concurrent requests or use synchronization to control access to a single instance.
but Both approaches are likely to reduce the performance of the page
because of the overheads of instantiation and locking respectively..
so this directive should be used with caution..
means if we set isThreadSafe= false, container may create multiple instances of jsp,
but for each new instance page has been instantiated means compiled and loaded which reduces performance..
Thursday, February 22, 2007
Shambhuraje(Sambhaji Maharaj)
Subscribe to:
Posts (Atom)