您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
(no author) 46e7dde597 This commit was manufactured by cvs2svn to create tag 'fop-0_20_4'. 22 年前
..
conf This commit was manufactured by cvs2svn to create tag 'fop-0_20_4'. 22 年前
lib This commit was manufactured by cvs2svn to create tag 'fop-0_20_4'. 22 年前
src This commit was manufactured by cvs2svn to create tag 'fop-0_20_4'. 22 年前
README This commit was manufactured by cvs2svn to create tag 'fop-0_20_4'. 22 年前
build.bat This commit was manufactured by cvs2svn to create tag 'fop-0_20_4'. 22 年前
build.sh This commit was manufactured by cvs2svn to create tag 'fop-0_20_4'. 22 年前
build.xml This commit was manufactured by cvs2svn to create tag 'fop-0_20_4'. 22 年前

README

FOP Servlet Readme

This directory contains two sample servlets that use FOP:

- FopServlet can take a XSL:FO file or a XML+XSLT as parameters to create a PDF
that is being shown in the browser.

- FopPrintServlet has the same parameters but prints the generated document to
the default printer instead of generating a PDF.

Creating the WAR file:

1. Get a servlet.jar and put it in the lib directory under this directory.
2. Run build.bat (on Windows) or build.sh (on Unix) to create the WAR file.
3. Put the WAR file in you favourite web container.

Sample URLs:
http://localhost:8080/fop/servlet/FopServlet?fo=readme.fo
http://localhost:8080/fop/servlet/FopPrintServlet?fo=readme.fo

Tip: If you have problems using Internet Explorer, try this URL:
http://localhost:8080/fop/servlet/FopServlet?fo=readme.fo&ext=.pdf