Java Server Faces
* Required
Email address *
Your email
State whether the following 13 points
statements are true or false
True False
A URL contains
information that
directs a browser
to the resource
that the user
wishes to access
Host names are
translated into IP
addresses by web
servers
The path in a URL
typically speciVes
a resource’s exact
location on the
server
GET requests and
POST requests
can both be used
to send form data
to a web server.
Browsers
typically cache
the server’s
response to a
POST request
tag library deVnes
a set of elements
that can be
inserted into the
XHTML markup
You must create
and manage the
JavaBean objects
that are used in
your JSF web
appli-
When the Faces
servlet
encounters an EL
expression that
accesses a bean
property, it
automatically
invokes the
property’s set or
get method based
on the context in
which the
property is used
An h:panelGrid
element
organizes
elements in an
XHTML table.
An
h:selectOneMenu
element is
typically rendered
in a web page as
a set of radio
buttons
The messages
speciVed by an
element’s
requiredMessage
and
validatorMessage
attributes are
displayed in an
associated
h:message
element when
validation fail
The HTTP
protocol provides
information that
enables web
servers to
maintain state
information
regarding
particular clients.
The ui:repeat
element inserts
its nested
element(s) once
for each element
in a Collection.
The Collection
can be
IEnumerable type
Java multitier applications are 1 point
typically implemented using the
features of _______________
Java Enterprise Edition (EE)
Model View Controller (MVC)
Java Server Faces
The JSF web-application 1 point
framework’s ____________
processes each requested JSF
page
Java Bean
Faces Servlet
Java Server Pages
None of the above
A(n) ______________ exposes its 1 point
data as read/write, read-only or
write-only prope!ies.
Java Server Face
Java Server Page
Faces Servlet
Java Bean
None of the above
The ____________ annotation 1 point
indicates that the JSF framework
should create and manage
instances of the class
@SessionScoped
@RequestScoped
@ManagedBean
All of the above
None of the above
A(n) ___________ element 1 point
contains the components with
which a user interacts to provide
data, such as registration or login
information, to a JSF app
h:commandButton
h:form
h:inputText
h:panelGrid
A(n) __________ validator 1 point
determines whether a "eld
contains an acceptable number
of characters.
f:validateLength
h:validateLength
f:validateSize
h:validateSize
A _______________ bean is 1 point
created when a session begins
and exists throughout the entire
session
@ManageBean
@RequestScoped
@SessionScoped
None of the above
Submit
This content is neither created nor endorsed by Google.
Report Abuse - Terms of Service - Privacy Policy
Forms