Name: skT45625 Date: 08/28/2000
java version "1.2.2"
Classic VM (build JDK-1.2.2-001, native threads, symcjit)
A call to URLConnection.guessContentTypeFromStream never returns if content is
an .xla file. It also doesn't return on JDK 1.3, but it does on 1.1.8 (null).
Example code:
URL url = new URL("http://ftp.reproms.si/pub/reproms/Office/Excel/html.xla");
URLConnection uc = url.openConnection();
String streamContentType = URLConnection.guessContentTypeFromStream
(uc.getInputStream());
Best regards
Samo Login
(Review ID: 108984)
======================================================================