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