>>> Rob Griffin <[EMAIL PROTECTED]> 09-May-01 12:35:00 AM >>>

Nic said:
>> Depends on your browser I'd guess. HttpURLConnections
>>don't have much reliability for POSTs.

Rob replied, amazed:
>What do you base this comment on?

I've had various problems with HttpURLConnection not doing POST
properly. Can't remember the version of the API though... it may have
been cleaned up.


In general I find these classes (the URLStreamHandlers and
URLConnection classes) very poorly implemented. For example, my Sun
Java2 FileURLConnection returns an HTML page of the contents of a
directory when one does: getInputStream().  I'm not sure what it
should return but an HTML page seems pretty stupid.

I'm going to produce a set of Handlers and URLConnection classes that
fix some of the implementation problems with these classes as part of
the Paperclips project. I'll donate them to the GNU-Classpath project
but I'm planning that they should work with any VM and lib
implementation.


Nic

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to