We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProcessing DevelopmentLibraries,  Tool Development › proXML: Problems writing XML-files from applet
Page Index Toggle Pages: 1
proXML: Problems writing XML-files from applet (Read 1328 times)
proXML: Problems writing XML-files from applet
Nov 25th, 2005, 5:42pm
 
Hi!

I'm trying to write a XML-file from a Java applet, I get this error message:

"You cannot write to this destination. Make sure destionation is a valid path"

Everything is working neatly directly from Processing, but problem is from the applet. Is it a Windows security issue, java issue or proXML issue? In any case how could you possibly solve this?

Re: proXML: Problems writing XML-files from applet
Reply #1 - Nov 25th, 2005, 11:49pm
 
Hello

This is a java security issue. I think you will have to redirect the file via php to get it solved. Do want to save the xml file on the server, or on the users machine?
Re: proXML: Problems writing XML-files from applet
Reply #2 - Nov 26th, 2005, 2:08am
 
Thanks for the swift reply!

The file only needs to be saved to the server, and then read by another application. I understand it might be possible to sign/certificate the applet and thus letting it write to files, or am I mistaking?

How can i redirect the file via php without being able to write to the file? (Please excuse my poor php knowledge)

Thanks again for the reply!
Page Index Toggle Pages: 1