Back to schedule page
Prev Next
Quiz Number 11

SWE 432, Fall 2011
November 17
 

Print your name on the right side of the page, above the line. Then answer the questions as concisely as you can. Please write neatly; if I can't read it I have to mark it wrong.

  1. (6 pts.) Answer each of the following with either a T (for true), or F (for false):
    1.      A problem with JSPs is that they have to be compiled every time they're used.
    2.      JSPs can use Java Beans to store and retrieve data.
    3.      JSPs can interact with Java servlets.
    4.      JSPs should include as many Java statements as possible.
    5.      JSPs are compiled directly to .class files.
    6.      The command <jsp:forward page="X.jsp"> will cause "X.jsp" to be loaded into the current page at the location of the command.


  2. (2 pts.) What is the essential runtime difference between the following two JSP include statements?
    <jsp:include page="copyright.html" />
    <jsp:include page="calculate.jsp" flush="true" />

  3. (2 pts.) What is the approximate Java statement produced from the following JSP?
    <jsp:usebean id="problem1" class="mathdrills.Problem" scope="page" />


© Jeff Offutt, 2001-2011, all rights reserved. This document is made available for use by GMU students of SWE 432. Copying, distribution or other use of this document without express permission of the author is forbidden. You may create links to pages in this web site, but may not copy all or part of the text without permission of the author.