Skip to content

Tag: bufferedoutputstream

remove or not return BufferedOutputStream file in java

i would like not to download the BufferedOutputStream when return java method. my code: my problem is when the invoices has Number it generates invoice and download in compressed zip file. but when it has no Number i dont want to download zip. but still zip file downloads but with empty no file in it. if no pdf generated i