ByteArrayInputStream. My service writes to a ByteArrayOutputStream which gets converted to a ByteArrayInputStream so that it can be handed off to the stream result type handler.
> -----Original Message----- > From: Martin Gainty [mailto:mgai...@hotmail.com] > Sent: Wednesday, December 08, 2010 7:15 PM > To: Struts Users Mailing List > Subject: RE: Result Type Stream Corrupted > > > which stream class is being implemented? > > http://www.visionlab.uncc.edu/~arwillis/online/docs/jdk-6- > docs/api/java/io/package-summary.html ? > > Martin > ______________________________________________ > Verzicht und Vertraulichkeitanmerkung/Note de déni et de > confidentialité > > Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene > Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede > unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. > Diese Nachricht dient lediglich dem Austausch von Informationen und > entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten > Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt > uebernehmen. > Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas > le destinataire prévu, nous te demandons avec bonté que pour satisfaire > informez l'expéditeur. N'importe quelle diffusion non autorisée ou la > copie de ceci est interdite. Ce message sert à l'information seulement > et n'aura pas n'importe quel effet légalement obligatoire. Étant donné > que les email peuvent facilement être sujets à la manipulation, nous ne > pouvons accepter aucune responsabilité pour le contenu fourni. > > > > > > > Date: Thu, 9 Dec 2010 01:15:15 +0100 > > Subject: Re: RE: RE: RE: Result Type Stream Corrupted > > From: maurizio.cucchi...@gmail.com > > To: user@struts.apache.org > > > > There wouldn't be any difference between get and post request for > struts > > (struts acts as filter and AFAIK at that abstraction level there > would be no > > method awareness). > > I'd take a look at the client and server enviroment (like application > > server) > > > > Maurizio Cucchiara > > > > Il giorno 09/dic/2010 00.05, "CRANFORD, CHRIS" > <chris.cranf...@setech.com> > > ha scritto: > > If I compare the binary data written to disk from the browser to that > of > > the file written on the server (mind you both locally on the same > > machine) the actually contents seem different as if the stream had > > certain bytes shifted or altered for some reason. They just do not > look > > the same. > > > > > > > -----Original Message----- > > > From: Maurizio Cucchiara [mailto:maurizio.cucchi...@gmail.com] > > > > > Sent: Wednesday, December 08, 2010 4:44 PM > > > To: Struts Users Mailing List > > > > > Subject: Re: RE: RE: Result Type Stream Corrupted > > > > > > And was the content of file really corrupt ... > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-hel... > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org