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

Answer Posted / dhanu

1.(b)include,
2.(c)HttpSessionAttributeLIstener
3.(a)getParameter()
4.(a)ServletResponse.getWriter()
5.(a)exception
6.(c)Bothe a& b
7.(b)session

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How primary key is implemented in Oracle?

1914


Can I run seam outside of jboss as?

638


What you mean by COM and DCOM?

613


Can I map more than one table in a cmp?

590


how i secure my site with the https protocol.what are the steps?

1734






What is chat area? Explain.

553


What is the difference between the ‘font’ and ‘fontmetrics’ class?

635


What is synchronization and why is it important?

541


whats is mean by tiles in struts

1618


Explain ioc concept?

621


What is a class loader?

586


What are JTA/JTS and how they used by client?

1716


Why does the option tag render selected=selected instead of just selected?

672


What are the call back methods in entity bean?

557


What is metaspace?

546