09-27-2010 05:18 AM
DettaglioFile df = (DettaglioFile) outParam.get("result");
ByteArrayOutputStream baos = new ByteArrayOutputStream();
ObjectOutputStream oos = new ObjectOutputStream(baos);
oos.writeObject(df);
oos.close();
Cache cache = new Cache();
cache.setNeverCache(false);
cache.setMustRevalidate(true);
cache.setMaxAge(0L);
//res.setHeader("Content-Length", Long.toString(baos.size()));
//res.setContentType("application/octet-stream");
//res.setCache(cache);
res.getOutputStream().write(baos.toByteArray());
09-27-2010 05:47 AM
09-27-2010 06:07 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.