You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Drasko Kokic <dr...@yahoo.com> on 2000/10/21 09:25:53 UTC
[patch] XSPRequestLibrary.java
could someone implement this patch please:
--------------------------------------------------
public static String[]
getHeaderNames(HttpServletRequest request) {
Vector v = new Vector();
Enumeration e = request.getHeaderNames();
while (e.hasMoreElements()) {
- v.addElement(request.getHeader((String)
e.nextElement()));
+ v.addElement((String) e.nextElement());
}
String[] headerNames = new String[v.size()];
v.copyInto(headerNames);
return headerNames;
}
--------------------------------------------------
Thanks
=====
Drasko
======================================
http://clubs.yahoo.com/clubs/xmlcocoon
======================================
__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf! It's FREE.
http://im.yahoo.com/