Hi,
         It is some thing like this, when you open a dataoutput streem for
wrting do mention a file name like this,

 DataOutputStream dos = new DataOutputStream(new java.io.FileOutputStrea
("d:\\geladkfiles\\xyz.html"));
BufferedWriter bos = new BufferedWriter(new
java.io.FileWriter("xyz.html"));

It will write all the data from your JSP file to this HTML file, ie
xyz.html. But, please note, this it is wrting to the virtual directory of
the machine where the JRun is there ( We are using Jrun). You need to use
the FTP and all to transfer that file where you want. In simple words, when
you run your Jsp file, a HTML file by name xyz.html will be generated
containg the data, which you have wrote in the Jsp file using BufferWriter.

Hope this is descriptive enough.
Santosh kotnis.

"The beauty of life does not depend on how happy you are but on how happy
others can be because of you"
=========================================================
Santosh Kotnis
GE Lighting (PDM Group )
Tata Consultancy Services.
185, Lloyds Road
Chennai- India.
URL: http://www.geocities.com/santosh_kotnis
=========================================================

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to