PDA

View Full Version : Output Data To A File


fleetadmiralmat
04-19-2003, 03:03 AM
Is there any way to output data to a file using JavaScript?
In Java, there is BufferedReader and Filewriter adn whatnot...

Ex.
I want person "a" to fill out a form with method='get' and when "a" is done and clicks cubmit, I want it to goto a .jsp page where it will sort it out and place it into a .txt or .dat file. Is this possible or is it only possible with ASP with Perl/CGI?

Skyzyx
04-19-2003, 03:26 AM
JavaScript was never intended to be able to do that. You'd need ASP, PHP, Perl/CGI, etc. to do that. Even then, it would only be saved on the server. Web browsers don't allow local filesystem access due to security concerns.