how to make a jsp page threadsafe?

Answer Posted / krishna chowdary garapati

JSP Threadsafe is used to send only one request for
processing.
It implements SingleThreadModel Interface.
In JSP,
The Page dircetive defines an attribute "isThreadSafe"
whose values are true|false.
If the value is set to 'true' the container can send
multiple concurrent requests to the JSP page. The default
value is 'true'
If the value is set to 'false' the container can only send
one request at a time to the JSP page which makes the JSP
ThreadSafe.
SYNTAX:
<%@ page isThreadSafe="true|false" %>

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the standard action?

496


What is session getattribute in jsp?

535


Which package does jsp api consist of?

577


Why session is used?

467


What is the requirement of a tag library?

536






What is the jsp?

549


How many tags are provided in jstl?

590


How do I view jsp files in my browser?

511


How can automatic creation of session be prevented in a jsp page?

552


How can I maintain session in JSP Page in the bases of user name and password:

581


how can i add properties in dynamic text fields using .js file?

1744


Can you explain what is jsp page life cycle?

537


How to send data from jsp to jsp?

509


How can we use beans in jsp?

518


How can a thread safe JSP page be implemented?

571