Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

writing to a file from within an applet

  Asked By: Joao    Date: Aug 24    Category: Java    Views: 756

Does anyone know how I can go about writing a file to my server from
an applet? The applet collects lots of useful data and I want to
store it on my server (Apache 1.3.26 running on Windows XP) for use
at a later date. To complicate things further, the file I am trying
to write will contain a linkedlist of double[][]'s! If there's no
way of doing this, then just to be able to save a file to the
client's computer will do, as the applet will only be run in my
project lab at uni, so i could go around at the end of the day and
collect all the files created.

Anyone know how I'd go about doing this?



4 Answers Found

Answer #1    Answered By: Kuhlbert Schmidt     Answered On: Aug 24

if u are calling ur appletfile from jsp or servlet capture the values
using javascript from calling servlet/jsp then write  to file  using
jsp/servlet instead of applet...this should slove ur prob.

Answer #2    Answered By: Maria Hughes     Answered On: Aug 24
Answer #3    Answered By: Damian Jones     Answered On: Aug 24

Thanks for the link, unfortunatly I cant read spanish!

Anyone else know how to help me?

Answer #4    Answered By: Eamon Jones     Answered On: Aug 24

see at www.vivisimo.com or www.google.com for the
same artic. there must be in english..

Didn't find what you were looking for? Find more on writing to a file from within an applet Or get search suggestion and latest updates.