File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
outputting zip file
Joined: Sep 01, 2006
Aug 30, 2011 04:56:39
i am new to file IO ... and
i want to output zip file containg one or more xml files in zip through servet
i am creating multiple JDOM Document objects and i need to put all files into ZIP ..
outX = res.getOutputStream();
// outX.write(); this method takes bytes as input i dont know how should i input my JDOM object to this method
Joined: Aug 20, 2011
Aug 30, 2011 05:00:10
for creating zips, try using
subject: outputting zip file
add zip or jars to classpath
can some .zip files (not java classes) be included in WEB-INF/classes too ?
Looking for correct data type to take in stream of xml
JDOM alternative JAR file required
can't use reset on input stream?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014