J2SE Version (please include all output from java -version flag):
Does this problem occur on J2SE 1.4.x or 5.0.x ? Yes / No (pick one)
No, works fine with Tiger 5.0
Operating System Configuration Information (be specific):
Windows XP Service Pack 2 IIS6
Hardware Configuration Information (be specific):
Intel based Dell Inspiron 5150 notebook. 1GB RAM/60GB Harddrive.
ImageIcon fails to load from url with a space in the virtual directory name
and no exception appears to be thrown.
This worked fine in the first Tiger relase.
Steps to Reproduce (be specific):
Create an IIS virtual directory that has a space in its name. i.e. "Web 5"
Copy ImageIconTest.html, ImageIconTest.jar, and blueCapt.gif to the IIS
directory. Access the html file from Internet Explorer. The image will
not display and no errors are produced.
If ran with an IIS virtual directory that does not have a space in the name,
it will display.
Please see the attached example applet.
###@###.### 2005-1-19 21:58:07 GMT
The following comes from the log file on the IIS. It appears that when run
from IE the address is not properly translated from Icon%20Test to Icon+Test
as it is from the applet viewer.
<*ERROR*> IE 6.0 With JRE 1.5.0_02
16:51:32 127.0.0.1 W3SVC1 GET /icon%20test/BlueCapt.gif - 404 4203 292
Applet Viewer With JRE 1.5.0_02
16:59:05 127.0.0.1 W3SVC1 GET /icon+test/BlueCapt.gif - 200 3407 258
Applet Viewer With JRE 1.4.2_03
16:55:30 127.0.0.1 W3SVC1 GET /icon+test/BlueCapt.gif - 200 3407 215
###@###.### 2005-1-21 17:28:54 GMT