Dear sir i have some objective type question i am not sure its answer i would like to know the answer of these question which are as below.
1) which session management technique does not transfer session information between a client and server?
a. URL rewriting.
b. Cookies.
c.
Servlet session API.
d. Hidden Fields
2) select the correct option that specifies the two exception classes that handle servlet-realted exception.
a. IOException,ServletException
b. ServletException,UnavailableException
c. UnavailableException,IOException
d. IOException,ServletException
3) which of the following deployment descriptor elements allows specifying the exception type to map to an error page?
a. <error>
b. <error-page>
c. <exception>
d. <exception-type>
4) select the correct code snippet that imports the java.io and java.util packages in a
JSP page. The scope of the response object of a JSP application limits to the:
a. <%@ page import="java.io.*; java.util.*"%>
b. <%@ page import="java.lang.*","java.util.* " %>
c. <%@ page import="java.io.*, java.util.*"%>
d. <%@ page import="java.io.*, java.util.*"%>
5) select the correct option which specifies the useBean action tag to include a javaBean named TestBean:
a. <jsp:useBean id="test" name="TestBean" >
b. <jsp:useBean id="test" name="TestBean" />
c. <jsp:useBean id="TestBean">
d. <%jsp:useBean id="test" name="TestBean" %>
6) The method not defined in the Tag interface is:
a. doStart()
b. doEnd()
c. doAfterBody()
d. doInitBody()
I HAVE EXAM TODAY SIR PLEASE SOON
with regard
Arun kumar maalik