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?

Answers were Sorted based on User's Feedback



how to make a jsp page threadsafe?..

Answer / john

There is an attribute in page directive
element "isThreadSafe", assign false to this, so that the
jsp container sends the client request one at a time to the
jsp page.
<%@page isThreadSafe="false"%>

Is This Answer Correct ?    23 Yes 7 No

how to make a jsp page threadsafe?..

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

More JSP Interview Questions

What is scriptlet tag?

0 Answers  


How did you implement caching in jsp?

0 Answers  


What is the difference between Java Servlet & JSP?

1 Answers  


How is jsp used in the mvc model?

0 Answers  


How can I prevent the output of my jsp or servlet pages from being cached by the browser?

0 Answers  


What is welcome file list?

0 Answers  


What is the <jsp:forward> standard action?

0 Answers  


Explain the difference between jspwriter and servlet printwriter in jsp?

0 Answers  


How can we retrieve warnings?

0 Answers  


What is the need for jsp?

0 Answers  


Is it possible to share an httpsession between a jsp and ejb? What happens when I change a value in the httpsession from inside an ejb?

0 Answers  


What is the jspinit() method?

0 Answers  


Categories