1. When
a JSP page is compiled, what is it turned into?
2. Which
of the following is not a standard method called as
part of the JSP life cycle?
3. If
you want to override a JSP file's initialization
method, within what type of tags must you declare the
method?
4. Which
of the following can not be used as the scope when
using a JavaBean with JSP?
5. The
implicit JSP objects like request, response,
and out are only visible in the _jspService()
method.
6. What
is the key difference between using a
<jsp:forward> and
HttpServletResponse.sendRedirect()?
7. Which
of the following statements makes your compiled
JSP page implement the SingleThreadModel
interface?
8. Of
the following four valid comment styles that can be
used within JSP pages, which can the end user see?
9. How
can a servlet call a JSP error page?
10. When
using a JavaBean to get all the parameters from a
form, what must the property be set to
(??? in the following code) for automatic
initialization?
<jsp:useBean id="fBean" class="govi.FormBean" scope="request"/>
<jsp:setProperty name="fBean" property="???" />
<jsp:forward page="/servlet/JSP2Servlet" />