hi,
You have to make the format of an html file using strings and then write it
to a file like

  File f1 = new File("yourfile.html");
 ObjectOutputStream output1 = new ObjectOutputStream(
  new FileOutputStream(f1));
 StringBuffer buf = new StringBuffer();
  buf.append("<html>");
  buf.append("<title>your title</title>");
  buf.append("your data");
  buf.append("</html>");
  output1.writeObject(buf.toString());
  output1.flush();
  output1.close();


----- Original Message -----
From: "M. Amin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 22, 2001 9:06 PM
Subject: How can i store a customer information as html file ?


> Dear All,
>  I'm developing a web application in which i stored a customer information
in
> a session object (ex: session.putValue("Customer_Info",Customer_Object),
what
> i'm trying to do now is to format this stored customer information and
store it
> as html file. how can i accomplish this task using java classes ?.
> Any help will be appreciated.
>
> Regards,
>  M. Amin
>
>
___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to