This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
If the Session has a method getServletContext() then you can also access it via the request object (request.getSession().getServletContext().
The implicit object application has a getContext() method as well.
Joined: Jan 20, 2010
My answer was same as
specially because it was asked to select only 1 option.
I might have thought on Frits lines if more than one option was asked to be selected.
see their take
JSP Specification, Version 2.0 (section 1.8.3)
Option E is correct. The application implicit object is equivalent to the ServletContext.
Options B, C, and D are incorrect because these implicit objects are used to access other scopes.
Option A is incorrect because that implicit object does not exist.
So what shall we decide?
Creator of Enthuware JWS+ V6