[EMAIL PROTECTED] wrote:
ok, it wasn't working when I directly accessed it off my hard disk. Maybe it's the url problem. So I uploaded it along with the files I wanted to read to a web location. still won't read the supporting files. "java.security.AccessControlException: access denied (java.io.FilePermission specneed read)..."

I haven't done this in a _long_ time, but I'll take a stab at it:


You are still trying to access the resource like it is a file.  It is NOT
a file, now that you've moved it to the server.  Now it's a URL and must
be read as such...which means using java.net.HttpURLConnection instead of
java.io.File.  Use the same URL that you would use if you were trying to
download the file in your browser.

C

--
-------------------------------------------------------------------------
Chris Merrill                  |  http://www.webperformanceinc.com
Web Performance Inc.           |  http://www.webperformancemonitoring.net

Website Load Testing, Stress Testing, and Performance Monitoring Software
-------------------------------------------------------------------------


_______________________________________________ Juglist mailing list [EMAIL PROTECTED] http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to