File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes Space in URL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Space in URL " Watch "Space in URL " New topic

Space in URL

iyappan sankaran
Ranch Hand

Joined: Aug 11, 2003
Posts: 58
i install one of the RMI application E:\MyProject its working fine , but if i install in c:\Program Files\ .. Then its saying MalformedURLException.

How to rectify this one.
Peter Chase
Ranch Hand

Joined: Oct 30, 2001
Posts: 1970
Spaces in URLs are usually supposed to be escaped to %20. Sometimes, one gets away with URLs with literal spaces in them, and sometimes one doesn't.

To see exactly what's happening in your application, we certainly need a proper stack trace for your MalforumedURLException and details of the URL it's objecting to.

Betty Rubble? Well, I would go with Betty... but I'd be thinking of Wilma.
I agree. Here's the link:
subject: Space in URL
It's not a secret anymore!