File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Problem with URI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Problem with URI" Watch "Problem with URI" New topic
Author

Problem with URI

Pavel Kubal
Ranch Hand

Joined: Mar 13, 2004
Posts: 356
Hi, Im trying to pass this link "http://192.168.1.194/mamut/offerLists/handOffers/SPL0000164/images/getstart.gif
" as an argument to URI constructor, but it prints "java.lang.IllegalArgumentException: URI scheme is not "file"
". What I'm doing wrong?
Stephen Huey
Ranch Hand

Joined: Jul 15, 2003
Posts: 618
Can you access that URI in a web browser from the same machine you're running the code on? Maybe you should post the exact code that's generating this exception...
Pavel Kubal
Ranch Hand

Joined: Mar 13, 2004
Posts: 356
Originally posted by Stephen Huey:
Can you access that URI in a web browser from the same machine you're running the code on? Maybe you should post the exact code that's generating this exception...


Yes, that was the first what I tried
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with URI
 
Similar Threads
jsp tag libraries problem
WA #1.....word association
JSTL - Problem with the bundle property on fmt:message
Difference between a URL and URI
HTTP Response code 414