Bonjour,

    j'ai un  ByteArrayOutputStream (conteant un fichier PDF) et j'aimerais
le piper vers un JSPWriter.

J'ai tout naturellement fait :
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ecriture(baos);
baos.close();

 out .write(new String(baos.toByteArray()));  //out est le JspWriter de ma
jsp

Ca marche pas( disons que ca m'ecrit un pdf erron�).

Comment peut on faire mieux, du moins un truc qui marche.

Laurent For�t.

Répondre à