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 / t.kumar

JSP can access by more than one user at the same time. We
can make JSP thread safe by using JSP attribute in directive
page tag. Thread safe JSP can take one request at one time
to processing. In thread safe JSP single instance of JSP
Servlet loaded. By default JSP is not thread safe, we have
to use isThreadSafe attribute of page. When isThreadSafe
attribute set as false, no multiple request send by JSP
engine to handle.

<%@ page isThreadSafe="false" %>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is output buffer?

1094


What is a parameter example?

1031


What does singleton class mean?

1033


What are the parts of methodology?

1038


What are different types of states exist for a thread?

1056


Which arithmetic operations can result in the throwing of an arithmeticexception?

1066


Can we overload the main() method?

1104


What is mean by encoding?

1126


What are kinds of processors?

1054


What is a parameter in java?

1037


What is a parameter in matrices?

1112


What is hashmap in java?

1112


Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?

1009


What is var keyword ?

1239


What is difference between call by value and call by reference?

1072