Hi!


See the FileWriter class

 public FileWriter(String fileName, boolean append) throws IOException


i would use it like this:
                PrintWriter pw=new Printwriter( new
FileWriter("files\\myfile.txt", true) );

pw.println(appendedinformation);
.....
pw.close()


-----Original Message-----
From: Duke Martin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, June 07, 1999 6:54 PM
Subject: off topic java ?


>hello,
>
>Sorry, this message is not directly related to servlets but I am writing
>info to a file from a servlet.  How can I append the info I am writing to
>the file?
>
>Thanks
>Duke
>
>___________________________________________________________________________
>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