Solved

pdf package for Tomcat 5.0

Posted on 2006-11-01
2
290 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Forward apache log to Syslog-NG 7 80
PHPmailer and exchange online(Office365) 3 346
Application launch issue with Apache Tomcat 5 40
PHP: Insert Data into MySQL 5 39
In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
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 is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

815 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

12 Experts available now in Live!

Get 1:1 Help Now