File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Saving Data from HTML  FORM to text file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Saving Data from HTML  FORM to text file" Watch "Saving Data from HTML  FORM to text file" New topic

Saving Data from HTML FORM to text file

Anurag Mishra
Ranch Hand

Joined: Jun 16, 2003
Posts: 121
Can anyone tell me is there a simple way so
I can just fill some data in a HMTL Form and it get saved in a
simple .txt file on the pc.
I know its possible to post data to other ASP or JSp pages but I don't want to involve any server.
I just want to use some script or something to do this.
thanks in advance

SCJP 1.2
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Server side language is the only real way to do it.
If you are only planning on using Internet Explorer to do this then you can look into using active-x controls that can perform this action. Search google for "active-x save text file javascript" and I am sure you will get what you are looing for.
I agree. Here's the link:
subject: Saving Data from HTML FORM to text file
It's not a secret anymore!