How to synchronize jsp page?
Answer / p.a.v.k.prasad
<%@ page isThreadSafe="true" >
isThreadSafe attribute takes true or false, the default value is true.This attribute specifies whether not a JSP page is thread safe.
if this attribute is set to false, only one thread can use the service.
if this attribute is true, simultaneous requests can be handled by this page.
| Is This Answer Correct ? | 13 Yes | 3 No |
What are the states associated in the thread?
Is the infobus client side only?
explain the flow of struts?
What are the high-level thread states?
What is the difference between the string and stringbuffer classes?
Difference between sleep and suspend?
1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession
difference between HashMap, Hashset and hashTable?
hi, All are saying that now software field position is not good and in 5-10yrs total software field ll be saturated . is it true? i am unable decide ii continue in this field or not please tell me?
How are the elements of a borderlayout organized?
whats is mean by class.forName() whats the return type of class
Define the remote interface?