Brian Lovett wrote:
> So I would recommend Googling "Apache http handler". ;)  I hope this helps!

Good suggestion.

I believe the OP is using Servlets and JSP. A more elegant solution 
would be to drop JSP (it's NEVER a good idea to create ANY binary file 
using JSP, IMHO creating PDF from JSP is a proof of bad design.)

With Servlets, you define a pattern in your web.xml file. If you define 
a pattern with *.pdf, the Servlet creating or manipulating the PDF will 
be triggered for every link with a filename that has the extension .pdf. 
If I'm not mistaken, that's exactly the name that will be used when 
downloading the file.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------

_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to