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...

JSP is by default thread safe or not? what is the meaning of
isThreadSafe="true" and isThreadSafe="false". Explain it?

Thanks,
Seenu

Answer Posted / bijay

<%@ page isThreadSafe="true" %> means you are specifying that the JSP page is thread-safe and hence, Container should create one Servlet instance and use it to handle mulitple client requests.

On the other hand, <%@ page isThreadSafe="false" %> means you are specifying that the JSP page is not thread-safe, so th Container should take necessary precaution. Container does this by queueing up requests and handling them one at a time.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why an outer class cannot be declared as private?

4282


What is string made of?

942


What is variable and rules of variable?

1004


What is the vector class in java programming?

1058


What is the reflection?

983


What is floor in java?

1028


Is null function in java?

1020


Why spring singleton is not thread safe?

987


What is lazy initialization in java?

979


What is class level lock ?

1004


which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com

3638


Explain jvm, jre, and jdk?

996


Name few java.lang classes introduced with java 8 ?

969


What is difference between module and function?

1145


Can a constructor call another constructor?

964