3 Replies Latest reply on Dec 23, 2005 6:10 PM by danch1

    portlet 'include'ing JSP, HttpServletRequest.getHeaders comp

    danch1

      Trying to use JSTL fmt:setBundle in a JSP used by a portlet turned up an area where the DispatchedHttpServletRequest implementation of HttpServletRequest doesn't comply with the published behavior for that interface: the getHeaders method returns null, where it's specified to return an empty Enumeration (at least in the J2EE 1.4 javadocs at http://java.sun.com/j2ee/1.4/docs/api/index.html)

      The null return results in a NullPointerException within apache's setBundle implementation.

      I'm using JBoss Portal 2.0 at the moment, but looking at the code in FishEye, this probably effects 2.2 as well.

      I can submit a JIRA bug on this, if desired, but wanted to post up here for discussion first.

      thanks all,
      danch