[4403] in java-interest
URL content
daemon@ATHENA.MIT.EDU (Sunny Fok)
Fri Dec 22 03:45:00 1995
Date: Fri, 22 Dec 1995 15:10:29 +0800 (HKT)
From: Sunny Fok <sunny@hkstar.com>
To: java-interest@java.sun.com
In-Reply-To: <199512202130.NAA04516@java.sun.com>
I just try to use java.net.URLConnection.getContent(URL) and then cast it
to an Image type. The URL in my applet is a gif file. The compiler needs a
class to handle gif(sun/net/www/content/image/gif) but there is only
a class in the JDK to handle text (sun/net/www/content/text). I wonder
if there are such classes to handle www content other than text, or is
there any method to display an image through URL?
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com