Hi !

it should work...
try it :))

Best wishes,
                        Andras
-----Original Message-----
From: Duke Martin <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, June 07, 1999 8:27 PM
Subject: Re: off topic java ?


>The FileWriter class works great, but how can I place the appended info on
a
>new line?  Will adding a \n to the appended info work?
>
>Thanks
>Duke
>
>-----Original Message-----
>From: Andras Balogh <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Monday, June 07, 1999 12:38 PM
>Subject: Re: off topic java ?
>
>
>>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
>
>___________________________________________________________________________
>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