Salut, Reprends la doc java concernant FileOuputStream.
sortie.output(document, new FileOutputStream("frames"));
Tu écrases le contenu...

ERE