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

Answers were Sorted based on User's Feedback



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

Answer / samba

By default JSP pages are not Thread safe.if we want to make
jsp page as thread sefe then the value of isThreadSafe
attribute is set to false, then the JSP container sends
client requests only one at a time to the JSP page which
makes the jsp page safe.
If isThreadSafe="true" then jsp is not a thread safe.this is
the default value.
If isThreadSafe="false" then jsp is a thread safe

Syntax:
<%@ page isThreadSafe="true|false" %>

Is This Answer Correct ?    30 Yes 7 No

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

Answer / samba

Jsp is not a thread safe.in order to make jsp as a thread
safe there is a attribute that is isThreadSafe="true"

Is This Answer Correct ?    10 Yes 6 No

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

Answer / nagendra

<% page isThreadSafe="false"%>

Then only jsp become ThreadSafe

Is This Answer Correct ?    5 Yes 2 No

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

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

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

Answer / venkat

by default jsp is not thread safe.
if we want to make thread safe jsp use this statement

<%@ page isThreadSafe="true"%>

Is This Answer Correct ?    2 Yes 2 No

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

Answer / venkat

by default jsp is not thread safe.
if we want to make thread safe jsp use this statement

<%@ page isThreadSafe="true"%>

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More Servlets Interview Questions

Explain request dispatcher and its methods.

0 Answers  


Can you call a jsp from the servlet?

0 Answers  


What is difference between server and servlet?

0 Answers  


Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

0 Answers  


What is servlet context ?

4 Answers  


What exactly is a servlet?

0 Answers  


Whether thread can be used in servlets?

0 Answers  


What is the purpose of dispatcherservlet properties?

0 Answers  


Is it possible to have a constructor inside the servlet?

0 Answers  


A client sends requests to two different web components. Both of the components access the session. Will they end up using the same session object or different session ?

0 Answers  


How can we include static files in the jsp page?

0 Answers  


What are the phases of the servlet life cycle?

0 Answers  


Categories