RE: Barracuda still doesn't compile on JDK 1.3.1

Garth Dahlstrom <[email protected]>
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
I'm a quite java newbie, but I searched deja on this and someone
suggested using Jakarta's HTTPClient libary
(http://jakarta.apache.org/commons/httpclient/) to get around
the missing feature of 1.3... 

Could the functionality in the error block below be written 
to make use of that libary.

Maybe getHeaderFields() could be done using getResponseHeaders()
http://nagoya.apache.org/gump/javadoc/jakarta-commons/httpclient/dist/docs/api/org/apache/commons/httpclient/HttpMethod.html#getResponseHeaders()

-Garth

Northern.CA ===--
http://www.northern.ca 
Canada's Search Engine

On Tue, 21 Jan 2003 08:46:00 -0700 [email protected] wrote:

    compile_core:
        [javac] Compiling 9 source files to
/home/alci/devel/Barracuda/WEB-INF/classes
        [javac]
/home/alci/devel/Barracuda/src/org/enhydra/barracuda/plankton/http/HttpReque
ster.java:496: cannot resolve symbol
        [javac] symbol  : method getHeaderFields  ()
        [javac] location: class java.net.URLConnection
        [javac]         List scookies = (List)
conn.getHeaderFields().get("Set-Cookie");
        [javac]                                    ^
        [javac]
/home/alci/devel/Barracuda/src/org/enhydra/barracuda/plankton/http/HttpServi
ces.java:88: cannot resolve symbol
        [javac] symbol  : method initCause
(java.lang.NumberFormatException)
        [javac] location: class java.text.ParseException
        [javac]                         ee.initCause(e);
        [javac]                           ^
        [javac]
/home/alci/devel/Barracuda/src/org/enhydra/barracuda/plankton/http/HttpServi
ces.java:97: cannot resolve symbol
        [javac] symbol  : method initCause
(java.lang.NumberFormatException)
        [javac] location: class java.text.ParseException
        [javac]                         ee.initCause(e);
        [javac]                           ^
        [javac]
/home/alci/devel/Barracuda/src/org/enhydra/barracuda/plankton/http/HttpServi
ces.java:105: cannot resolve symbol
        [javac] symbol  : method initCause  (java.text.ParseException)
        [javac] location: class java.text.ParseException
        [javac]                         ee.initCause(e);
        [javac]                           ^
        [javac] 4 errors
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.