In my module, I create a file, then ZIp it. I want to send this zipped file in
servlet response.
Here is what I do in my code.
public static final
String DEFAULT_CONTENT_TYPE = "application/octet-stream";
public static final int LENGTH_OF_ZIPDATA = 2048;
How do I send the ZipOutputStream in the response. The way I am sending it is incorrect cause converting it to string will not help in this case. I am not sure how to achieve this. Need some pointers.
Thanks,
Trupti