We have provided one example HelloWorld.java to show how DynamicPDF™ Generator can be used in Servlets. For examples on usage of the product, refer to the Standalone examples above.
Since loading of a servlet is a Servlet Engine or Java Application Server dependent process, we are providing you with a general installation process. Please check your Servlet Engine or Java Application Server manual if you need help in loading Servlets.
Place the HelloWorld.class file under
DynamicPDF_Generator~/ceTeSoftware/exmpl/Generator/Servlet to the working
directory of your Servlet Engine or Java Application Server. Please make
respective changes into your web.xml to handle the servlet mapping. Calling this
Servlet from a web browser will cause HelloWorld.pdf to be downloaded on the
client machine.
* HelloWorld.class
This example shows how to generate a simple PDF document in WWW environment from
a Servlet.
