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



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3901355#3901355

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3901355


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to