Answers Back to schedule page
Prev  Next
Quiz Number 11

SWE 432, Fall 2008
November 17
 

  1. Answer each of the following with either a T=true, F=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. Choose the correct scope from [ Page | Request | Session | Application ] to complete each of the following statements.

    1. Data objects are shared with other requests from the same client and browser in a time period with scope                          .

    2. Data objects are shared with software components that the recieving JSP uses or calls before sending back a response with scope                          .

    3. Data objects are shared within all sessions in the servlet context with scope                          .

    4. Data objects are shared within the same web page with scope                          .