Quiz
Back to schedule page
Prev
Next
Quiz Number 11 Answers
SWE 432, Fall 2008
November 17
Answer each of the following with either a
T
=true,
F
=false:
F
A problem with JSPs is that they have to be compiled every time they're used.
T
JSPs can use Java Beans to store and retrieve data.
T
JSPs can interact with Java servlets.
F
JSPs should include as many Java statements as possible.
F
JSPs are compiled directly to .class files.
F
The command
<jsp:forward page="X.jsp">
will cause "X.jsp" to be loaded into the current page at the location of the command.
Choose the correct
scope
from [
Page
|
Request
|
Session
|
Application
] to complete each of the following statements.
Data objects are shared with other requests from the same client and browser in a time period with scope
.
session
Data objects are shared with software components that the recieving JSP uses or calls before sending back a response with scope
.
request
Data objects are shared within all sessions in the servlet context with scope
.
application
Data objects are shared within the same web page with scope
.
page