GIAC
GSSP-JAVA · Question #91
GSSP-JAVA Question #91: Real Exam Question with Answer & Explanation
Sign in or unlock GSSP-JAVA to reveal the answer and full explanation for question #91. The question stem and answer options stay visible for context.
Question
Which of the following syntaxes can be used to retrieve a URL to a resource specified as WEBINF/example/sessionObject.txt? Note. Assume that session is an instance of the HttpSession interface, request is an instance of the HttpServletRequest interface, and context is an instance of the ServletContext interface.
Options
- Acontext.getResource ("/example/sessionObject.txt")
- Bsession.getResource ("/WEB-INF/example/sessionObject.txt")
- Crequest.getResource ("/WEB-INF/example/sessionObject.txt")
- Dcontext.getResource ("WEB-INF/example/sessionObject.txt")
- Econtext.getResource ("/WEB-INF/example/sessionObject.txt")
- Frequest.getResource ("WEB-INF/example/sessionObject.txt")
Unlock GSSP-JAVA to see the answer
You've previewed enough free GSSP-JAVA questions. Unlock GSSP-JAVA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.