When comparing
servlet initialization parameters to context initialization parameters, which are true for both? (Choose all that apply.)
A. In their respective DD tags, they both have a <param-name> and a <param-value> tag.
B. Their respective DD tags are both placed directly under the <web-app> tag.
C. Their respective methods used to retrieve initialization parameter values are both called getInitParameter.
D. Both can be directly accessed from a
JSP.
E. Only changes to context initialization parameters in the DD can be accessed without redeploying the web application.
Book's answer: AC
I think it should be ACD
The book explains '-Option D: only context params can be directly accessed from JSPs'. But JSPs have both application and config implicit objects. They can be used to access init parameters respectively.
What do you guys think?
Kay