cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drasko Kokic <drasko_ko...@yahoo.com>
Subject [patch] XSPRequestLibrary.java
Date Sat, 21 Oct 2000 07:25:53 GMT
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/

Mime
View raw message