for(int i-=0; i<firstitems.size();>{ table.addCell(String.valueOf(firstItems.get(z))); document.add(table); document.close(); response.addHeader("Content-Disposition", "attachment; filename="test.pdf"); OutputStream out = response.getOutputStream(); baos.writeTo(out); out.flush(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)