Java Applet Question

I was wondering how I would go about saving the 'state' of a java applet. For instance if I created a drawing program, how would i create a feature so the user could save their drawing to work on later?
[211 byte] By [med416a] at [2007-11-27 8:33:22]
# 1

Most probably it'll have to be persisted on your server. Sandboxing dictates that an applet can't have access to a local filesystem, and although this can be gotten around, ask yourself "would I like to install a piece of software from an unknown source that can access my hard drive through my web browser?". Personally, I wouldn't

georgemca at 2007-7-12 20:29:30 > top of Java-index,Java Essentials,Java Programming...
# 2
i knew that its kept seperate from the local file system. But how do I keep it persisted on my server? Should I try getParameter?
med416a at 2007-7-12 20:29:30 > top of Java-index,Java Essentials,Java Programming...
# 3
You read/write to a file to the server.
RATiXa at 2007-7-12 20:29:30 > top of Java-index,Java Essentials,Java Programming...
# 4
My advice: give up on applets and write an application. Java Web Start makes it possible to deliver to clients.
Hippolytea at 2007-7-12 20:29:30 > top of Java-index,Java Essentials,Java Programming...