Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 difference between custom jsp tags and beans?

917


What is jstl (jsp standard tag library)?

867


What is the _jspservice() method?

954


How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?

954


What's the difference between javabeans and taglib directives?

885


What are the different jsp element types?

895


What are the attributes on page directives?

833


Explain JSP directives.

959


What is the standard action?

873


How is jsp include directive different from jsp include action. ?

929


Can we override jsp service method?

885


What are the ways to insert java code into jsp page?

967


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

896


Explain the advantages in jsp?

972


Which attribute specifies a jsp page that should process any exceptions thrown but not caught in the current page?

917