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 server side programming language?

651


Why jsp is used instead of html?

724


List all tags that are provided in jstl?

678


How to deactivate el on jsp?

687


What are request and response objects?

672






How to include static files in a JSP page?

728


How does response sendredirect work?

681


how can i update the marque in jsp without changing the sourse code

2345


How do I use sendredirect?

667


What are directives? What are the different types of directives available in jsp?

657


How can I prevent the output of my jsp or servlet pages from being cached by the browser?

750


How many tags are there in jsp?

639


What is session scope?

696


What is jsp net?

668


What is a declaration?

695