This tutorial contains description of isThreadSafe attribute of page Directive.
isThreadSafe Attribute :
isThreadSafe attribute is one of attribute of page directives. It is used at the beginning of the JSP page. This attribute defines the behavior of threads. It specifies that the thread is safe or not. It represents the way that a web server dispatches the multiple client request. It is of boolean type so returns true or false value. Default value of this attribute is true. That means that the web container can dispatch the multiple client request to the JSP page. the false value shows that the web container can dispatch only one request at a time.
<%@ page isThreadSafe="true" %>
<%@page isThreadSafe="true"%> <html> <head> <title>isThreadSafe attribute.</title> </head> <body> <font color="violet" size="5"> isThreadSafe attribute example of page directive.</font> </body> </html>
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.