File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Space in URL

 
iyappan sankaran
Ranch Hand
Posts: 58
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1970
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic