cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tiberiu Dondera" <>
Subject VoiceXML - saving audio files
Date Tue, 10 Apr 2001 14:58:51 GMT
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:

        <record name="recording">
             Say something.
          <submit next="test.xml" method="post"
enctype="multipart/form-data" namelist="recording"/>

(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:

<?xml version="1.0"?>
<?cocoon-process type="xsp"?>

<xsp:page language="java" xmlns:xsp="">
    FileOutputStream fis=new FileOutputStream("");

I'm using IBM's Voice Server Kit...

Thanks for any help.


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message