Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 57012 invoked by uid 500); 10 Apr 2001 14:53:17 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 56981 invoked from network); 10 Apr 2001 14:53:16 -0000 X-Originating-IP: [134.214.170.122] From: "Tiberiu Dondera" To: References: <20010410122933.A10725@pred.posexperts.com.pl> Subject: VoiceXML - saving audio files Date: Tue, 10 Apr 2001 16:58:51 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Message-ID: X-OriginalArrivalTime: 10 Apr 2001 14:52:58.0223 (UTC) FILETIME=[EE9F07F0:01C0C1CD] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I'm trying to create a VoiceXML/Cocoon site. And I'm stuck on saving user audio input on the server... I open a file and then I write the input parameter to the file (as you will see in the code). However, even if the Cocoon process has ended (Cocoon returns the answer), the file is still open (i'm under windows 2000, and I can't erase the file - which has a 0 size - until I stop Tomcat). Any idea why this happens? The code: VoiceXML: Say something. (input stops when user presses a key on the phone keypad). Then Cocoon takes over - the post of the data is well done. Cocoon file: FileOutputStream fis=new FileOutputStream("input.au"); fis.write((request.getParameter("recording")).getBytes()); fis.close(); I'm using IBM's Voice Server Kit... Thanks for any help. Tibi DONDERA --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: