Using getClass().getResource with directories that contain spaces.
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Mark_Perez
Posted On:   Sunday, December 9, 2001 03:02 AM


Hi, I am trying to pull up a file on my server using getClass ().getResource. It works fine as long as the directory does not have a space. And this only happens on the applet server ( windows nt) and not when i run it on my computer (XP). I have tried to use double quotes but i can not even get this to work on my computer. Any ideas?


Thanks!

Re: Using getClass().getResource with directories that contain spaces.

Posted By:   John_Zukowski  
Posted On:   Sunday, December 30, 2001 05:55 PM

Rename the directory... :-)

Last time I tried, double quoting worked.

About | Sitemap | Contact