diff options
author | Keiron Liddle <keiron@apache.org> | 2002-02-06 09:57:17 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-02-06 09:57:17 +0000 |
commit | 71d1f294f4248dc88e26be721d3b18ebdeef591d (patch) | |
tree | ce37725c893bc203992df0215de735bf5a2a6322 /docs/xml-docs/fop/embedding.xml | |
parent | d46dffa9e33fd71d9d6b1d532b40dc1fba52d855 (diff) | |
download | xmlgraphics-fop-71d1f294f4248dc88e26be721d3b18ebdeef591d.tar.gz xmlgraphics-fop-71d1f294f4248dc88e26be721d3b18ebdeef591d.zip |
some minor updates to info
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194629 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/xml-docs/fop/embedding.xml')
-rw-r--r-- | docs/xml-docs/fop/embedding.xml | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/docs/xml-docs/fop/embedding.xml b/docs/xml-docs/fop/embedding.xml index 6435311f0..536dd9ba2 100644 --- a/docs/xml-docs/fop/embedding.xml +++ b/docs/xml-docs/fop/embedding.xml @@ -2,7 +2,15 @@ <!-- Embedding FOP --> +<document> + <header> + <title>Embedding FOP</title> + <subtitle>Notes about embedding FOP in your Java application</subtitle> + <authors> + </authors> + </header> + <body> <s1 title="Embedding FOP "> <s2 title="Overview"> <p>Instantiate org.apache.fop.apps.Driver. Once this class is @@ -108,16 +116,24 @@ IntputStream and renderer. </p> </s2> <s2 title="Using Fop in a servlet"> - <p>In the directory xml-fop/docs/examples/embedding you can find a working example how to use - Fop in a servlet. You can drop the fop.war into the webapps directory of Tomcat, then - go to a URL like this: + <p> +In the directory xml-fop/docs/examples/embedding you can find a working +example how to use Fop in a servlet. You can drop the fop.war into the +webapps directory of Tomcat, then go to a URL like this: </p> <p>http://localhost:8080/fop/fop?fo=/home/path/to/fofile.fo</p> + <p>http://localhost:8080/fop/fop?xml=/home/path/to/xmlfile.xml&xsl=/home/path/to/xslfile.xsl</p> <p>You can also find the source code there in the file FopServlet.java</p> <p> To compile this code you will need servlet_2_2.jar (or compatible), fop.jar and the sax api in your classpath. </p> + <note><p> + Some browsers have problems handling the PDF result sent back to + the browser. IE is particularly bad and different versions behave + differently. Having a ".pdf" on the end of the url may help. + </p></note> </s2> </s1> - + </body> +</document> |