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

What is the purpose of finalization in java programming?

1018


Can main() method in java can return any data?

1157


what is meant by abstract class?

1108


Why does java have two ways to create child threads?

934


What modifiers may be used with a top-level class?

1040


Are variables stored in ram?

989


What is string literal in java?

1028


What is internal iteration in java se 8?

1177


Can I uninstall java?

1023


What do you understand by looping in java? Explain the different types of loops.

1033


how to deploy tomcatserver to weblogic server? write d following steps?

1954


How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?

1038


What is the difference between logical data independence and physical data independence?

1011


Give us the name of the list layoutmanagers in java?

909


How many tetrahedral voids are there in bcc?

1067