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

Is JSP Thread Safe ???? How To make JSP thrad safe ?????

Answer Posted / ankur

BY DEFAULT THE JSP PAGE IS NOT SAFE FROM THREAD . IF YOU WANT TO MAKE SAFE THE JSP PAGE FROM THREAD YOU CAN USE THE STATEMENT

<% page isThreadSafe="false"%> USE BEFORE THE <HEAD>

:- THE JSP BY DEFULT VALUE IS

<%@ page isThreadSafe="true"%> THAT MEAN YOUR JSP PAGE IS NOT THREAD SAFE ...

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is servlet instance?

1034


If a servlet is not properly initialized, what exception may be thrown?

1172


What is the disadvantage of cookies?

982


When servlet is loaded?

1065


What is difference between GenericServlet and HttpServlet?

1138


How do I use cookies to store session state on the client?

954


What do you mean by request dispatcher in servlet? Also explain its methods.

1137


What is the servletconfig object?

1024


How to get the actual path of servlet in server?

1204


What is the difference between encodeRedirectUrl and encodeURL?

1100


What is the default http method in the servlet?

1278


What is the life cycle of a servlet?

1498


How will you pass values from HTML page to the servlet?

1032


What is the procedure of invoking different servlet in a different application?

999


Differentiate between the print writer and servlet output stream?

988