How can I save an image file to the server via a Java applet?
2 answers
You may be interested in the code I wrote for Processing, which is mostly Java code. Re: save to web --- export images . Earlier in the thread, I explain some of the precautions to take with such an application (to avoid flooding the server from a malicious user), and I give the corresponding PHP code.
+1
source to share
You need to do two things:
- Create a PNG image file in your applet - Save / Save Image
- Send the image file to some server-side CGI / servlet that will save the image - How do I load the file into my servlet or JSP?
What are you using on the server? PHP? Rails? JSP? .NET?
+3
source to share