Julien,

Actually, the JSTL code calls getHeaders, not get Header. Not sure why, 
especially since it never looks at the results, except to see if the returned 
Enumeration has at least one entry.  So the proper patch for fmt:message is:

   public Enumeration getHeaders(String s)
  |    {
  |       return rreq.getProperties(s);
  |    }

I have verified that fmt:message behaves correctly with this patch applied.

Of course, you could also include the getHeader patch you proposed to made the 
API more consistent.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3965938
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to