Reading remote File

Hello friends!

I'm making an application with applet.

I need to read and writte a xml file,located in the same machine that i have the jar files (file located at the server, not in the client machine).

I have reached an "access denied" error when i tried to open the file with my programm. I have read in forums there is a security problem for reading local files, files int the client side, but if i try to work with files located in the server side , there are security problems too? I need to sign the jar equally? Any solution?

Thanks for the help!!!!!!!

[599 byte] By [JosBravoa] at [2007-11-27 5:13:47]
# 1

The applet should be able to open a connection to the server that it came from.

If you're having trouble, the first thing that occurs to me is whether there are any unusual circumstances about the host you're connecting to. For example, are you going to the same machine, but serving content on another hostname or IP address?

But even if you can connect OK, that's not the same as being to read or write content. Perhaps the server itself isn't letting you do that. What error message are you getting exactly? Can you post the stack trace?

Please also check the server logs on the server. Is a connection from the applet even being logged? What's the status of the connection? Etc.

paulcwa at 2007-7-12 10:35:32 > top of Java-index,Desktop,Core GUI APIs...