Category Archives: Dynamic File Generation

Create PDF file with custom open actions

This article will illustrate how to dynamically generate a PDF file, which will have the print dialog box automatically popped up when the file is opened in your web application. public ModelAndView handleRequestInternal(HttpServletRequest request, HttpServletResponse response) throws Exception {    //if … Continue reading

Posted in Dynamic File Generation | Leave a comment

Apache FOP and iText for dynamic PDF generation

What is FOP Apache FOP (Formatting Objects Processor) is a print formatter driven by XSL formatting objects (XSL-FO) and an output independent formatter. It is a Java application that reads a formatting object (FO) tree and renders the resulting pages … Continue reading

Posted in Dynamic File Generation | Leave a comment