An input stream; a reader serves characters, whereas a zip file consists of binary data.
Levi Op 24 aug 2009 om 23:11 heeft Laurent Perez <[email protected]> het volgende geschreven:\ > Hi > > I need to serve a zip file directly from a returning Resolution > (redirecting to the generated zip file is not an option). > The zip file is not big, a few KB. > > I've played with the StreamingResolution, but I still can't manage to > get it right : the content type is of course "application/zip", but > what's the best option for the second argument : should I be using an > InputStream or a Reader ? > > Thanks for any input > :) > > laurent > > -- > <a href="http://in-pocket.blogspot.com">http://in-pocket.blogspot.com > - Mobile world, technology and more</a> > > --- > --- > --- > --------------------------------------------------------------------- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
