W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1998

Create an HTML from a Servlet

From: Adel Ghlamallah <aghlamal@crim.ca>
Date: Mon, 17 Nov 1997 17:02:29 -0500
Message-ID: <3470BEF5.B9DFB795@crim.ca>
To: "www-jigsaw@w3.org" <www-jigsaw@w3.org>
Hi
Can I create a file and write in it from a  servlet ?
I tried this but nothing happen:

FileOutputStream  fout = new FileOutputStream("test.html");
 PrintStream pout = new PrintStream(fout);
pout.println("<HTML> .......");

Adel
Received on Tuesday, 17 February 1998 16:58:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:27 GMT