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
I agree. Here's the link:
subject: outputting zip file
Looking for correct data type to take in stream of xml
can some .zip files (not java classes) be included in WEB-INF/classes too ?
JDOM alternative JAR file required
can't use reset on input stream?
add zip or jars to classpath
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014