Making a Thread Safe JSP Page

  • JSP Thread Safe is used to send only one client request for processing 
  • The page directive defines an attribute "isThreadSafe" whose value is either true or false.
    • If the value is set to true which is the default value, the JSP container can send multiple concurrent client requests to the JSP page.
    • If the value of this attribute is set to false, then the JSP container sends client requests only one at a time to the JSP page which makes the JSP page thread safe.
  • Syntax
           <%@ page isThreadSafe="false" %>

If you want to read more about JSP read here

Newer Post Older Post

Leave a Reply

naeemgik. Powered by Blogger.