Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
Exam
: SUN 310-084
Title
: Sun Certified Web
Component Developer for
Java. EE 5 Upgrade
Version : Demo
Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
1. Given the relationship:
The tag handler MyTag extends SimpleTagSupport. At
runtime,
the doTag method throws a
SkipPageException.
Which three events occur after the SkipPageException is thrown? (Choose three.)
A. Evaluation of page2.jsp stops.
B. Evaluation of page1.jsp stops.
C. The MyTag instance is NOT reused.
D. Evaluation of page2.jsp continues.
E. Evaluation of page1.jsp continues.
Answer: ACE
2. A developer is designing a multi-tier web application and discovers a need to log each incoming client
request.
Which two patterns, taken independently, provide a solution for this problem? (Choose two.)
A. Transfer Object
B. Service Locator
C. Front Controller
D. Intercepting Filter
E. Business Delegate
F. Model-View-Controller
Answer: CD
3. Which three are true about the HttpServletRequestWrapper class? (Choose three.)
A. The HttpServletRequestWrapper is an example of the Decorator pattern.
B. The HttpServletRequestWrapper can be used to extend the functionality of a servlet request.
C. A subclass of HttpServletRequestWrapper CANNOT modify the behavior of the getReader method.
D. An HttpServletRequestWrapper may be used only by a class implementing the javax.servlet.Filter
interface.
E.
An HttpServletRequestWrapper CANNOT be used on
the
request
passed
to
the
RequestDispatcher.include method.
F. An HttpServletRequestWrapper may modify the header of a request within an object implementing the
javax.servlet.Filter interface.
Answer: ABF
4. Which two are valid values for the <transport-guarantee> element inside a <security-constraint> element
Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
of a web application deployment descriptor? (Choose two.)
A. NULL
B. SECURE
C.