This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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.
It is sorta covered in the JavaRanch Style Guide.
subject: Space in URL
jQuery in Action, 3rd edition