?
Solved

Return PDF file From Java Servlet

Posted on 2005-03-30
1
Medium Priority
?
542 Views
Last Modified: 2013-11-24
We have a controller servlet that takes an xml string, does xsl transformation and outputs the html string to the browser:

  String sHtml = XSLTransformer.transform(sXmlData, sXslFile);
  out.println(sHtml);

We'd like to be able to return a Pdf file to the browswer.  Is there anything available that we can use to do this?

jkavx
0
Comment
Question by:jkavx
1 Comment
 
LVL 15

Accepted Solution

by:
aozarov earned 1000 total points
ID: 13667550
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
A solution for Fortify Path Manipulation.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses
Course of the Month9 days, 2 hours left to enroll

621 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