About Question enthuware.jwpv6.2.1154 :
Posted: Tue Apr 08, 2014 1:05 pm
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
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