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

Explain the jsp:setProperty action.

0 Answers  


What is an api with example?

0 Answers  


What is full api?

0 Answers  


What are context initialization parameters?

0 Answers  


What is a jsp directive?

0 Answers  






What Do you Mean By Object Serialization in java.

2 Answers   Accenture, Cognizant,


How is jsp better than servlet technology?

0 Answers  


what is the extended star schema

0 Answers  


What are the different types of jsp directive?

0 Answers  


How will you use jsp el in order to get the http method name?

0 Answers  


What are the possible values for language directive?

0 Answers  


Is jsp front end or backend?

0 Answers  


Categories