Answer is 3. What's wrong in answer 4?? since ServletConfig has getServletContext() method. Plz explain . Reg Vasanth
SCJP 1.4(85%)<br />SCWCD 1.4(79%)
posted 11 years ago
I think option D should be allowed too. getServletContext() is a method inside ServletConfig thus giving you a servletContext for which you can use methods to access the /META-INF directory i.e. option C.