|
Author |
Topic: proHTML problems (Read 1536 times) |
|
ndrw
|
proHTML problems
« on: Apr 8th, 2005, 12:25am » |
|
Hey - new to using external libraries and have been having a lot of problems with them so far... I've been able to successfully install ProHTML and use the HTMLTree code, but when I attempt to load any images I get an error. It determines the correct number of images but then is unable to load them, and the error message gives me a strange path: for example could not load image http://upload.wikimedia.orgwikipediameta22anohat-logo-nowords-bgwhite-20 0px.jpg java.lang.NullPointerException or could not load image http://processing.org//images1pix.gif so I was wondering: is the problem with the path? Is there some screwy reason why it either has no slashes in the URL, and sometimes two? Or is the problem with permissions to access or load images from a site? Any help would be appreciated.
|
|
|
|
cello
|
Re: proHTML problems
« Reply #1 on: Apr 8th, 2005, 5:14am » |
|
Well, it looks like a problem with whatever code is creating the urls, as those are completely invalid and incorrect urls. But on top of that, java *applets* can only access urls in the same exact domain as the applet codebase, so if you're running as an applet, you won't be able to load images from other servers without a proxy. Marcello
|
|
|
|
ndrw
|
Re: proHTML problems
« Reply #2 on: Apr 10th, 2005, 9:57pm » |
|
Guess I should've been more specific: I'm planning something with this that will not need to run in a browser, I guess I should go take a look at the proHTML source and recompile it. Thanks...
|
|
|
|
|