Page 1 of 1

About Question enthuware.jwpv6.2.1154 :

Posted: Tue Apr 08, 2014 1:05 pm
by niallcol
Hi,

In the explanation for this part of the question it says that:

"headerValues - a Map that maps header names to a String[] of all values for that header (obtained by calling ServletRequest.getHeaders(String))"

There is no ServletRequest.getHeaders(String) method, it should be HttpServletRequest.getHeaders(String). Also, this method returns an Enumeration, though presumably this Enumeration is used to build the String[] that is made available through the EL implicit object.

Kind Regards,

Niall

Re: About Question enthuware.jwpv6.2.1154 :

Posted: Tue Apr 08, 2014 9:31 pm
by admin
You are right. The explanation has now been fixed.
thank you for your feedback!
Paul.