![]() Related Questions How can a Servlet call a JSP error page ?(a) This capability is not supported. (b) When the servlet throws the exception, it will automatically be caught by the calling JSP page. (c) The servlet needs to forward the request to the specific error page URL. The exception is passed along as an attribute named "javax.servlet.jsp.jspException". (d) The servlet needs to redirect the response to the specific error page, saving the exception off in a cookie. (c) Why beans are used in J2EE architecture in stead of writing all the code in JSPs ?(a) Allows separation of roles between web developers and application developers (b) Allows integration with Content Management tools (a) Why DB connections are not written directly in JSPs ?(a) Response is slow (b) Not a standard J2EE architecture (c) Load Balancing is not possible (d) All the above (e) Both (b) and (c) The time between Command Execution and Response is called ______(a) Granularity (b) Latency (c) Lag time (c)EXPLANATION:Latency: Latency is a measure of the temporal delay. Typically, in xDSL, latency refers to the delay in time between the sending of a unit of data at the originating end of a connection Which of the following can not be used as the scope when using a JavaBean with JSP? (a) session (b) application (c) request (d) response (d) What is Temporary Servlet ? (a) Servlet that is destroyed at run time (b) Servlet that exists for a session (c) Servlet that is started and stopped for each request (c) EXPLANATION: A temporary servlet is started when a request arrives and shut down after the response is generated. A permanent servlet is loaded when the server is started and lives until the
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||