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 / nehru

Accroding to java documention, default value for jsp page
attribute 'isThreadsafe', is set to true, which means jsp
can handle multiple client requests and does not implement
SingleThreadModel interface.

Well, thinking gramatically, meaning of 'isThreadsafe' is to
clarify or to assert whether jsp is threadsafe or not.
So it makes sense when you put it's value to true ie.
isThreadsafe = true, meaning jsp is now thread safe and so
should handle one request at a time ie. it should implement
SingleThreadModel interface.
And isThreadsafe = false implies, jsp is not thread safe and
so it can handle multiple client requests.

Is This Answer Correct ?    20 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to create multithreaded program? : Java thread

899


EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.

9143


What is the difference between call by reference and call by pointer?

916


What is the difference between I ++ and ++ I in java?

929


What one should take care of, while serializing the object?

852


Explain list interface?

914


What is the properties class in java programming?

945


What is meant by binding in rmi?

957


What is the concatenation operator in java?

1078


Explain how hashmap works?

1007


In which language java is written?

926


Can a function return a function?

993


What is string pooling concept?

998


What is dynamic array in java?

966


How is string stored in java?

1007