Solved

pdf package for Tomcat 5.0

Posted on 2006-11-01
2
284 Views
Last Modified: 2010-05-18
I need to allow users to download pdf files from a Tomcat (web) server. What is a recommended pdf package to have installed on the Tomcat 5.0?
0
Comment
Question by:ZuTrekker
2 Comments
 
LVL 19

Accepted Solution

by:
ramazanyich earned 125 total points
ID: 17853859
Do you want to allow static or dynamic pdf files ?
If you want static pdf files then it is not a problem at all.
If you want generate pdf files on the fly then you can use iText JAVA library: http://www.lowagie.com/iText/
http://itextdocs.lowagie.com/tutorial/general/webapp/index.html - is a link to tutoril page about generating pdf file in your web application using servlet or JSP.
0
 
LVL 4

Assisted Solution

by:Tol_cv
Tol_cv earned 125 total points
ID: 17858391
for generating pdf file you can use apache- fop library , or jasper reports
to download pdf files you can set servlet response content type to  application/pdf and write pdf file to  response  output strream :
response.setContentType("application/pdf");

http://xmlgraphics.apache.org/fop/
http://jasperforge.org/sf/projects/jasperreports
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now