Set up tomcat to include the ptlot jar file and start it. On unix you will need jdk1.4 and you will need to set CATALINA_OPTS='-Djava.awt.headless=true' before starting tomcat. You may also need to adjust the path to your servlet depending on your context settings and the servlet engine or to create an entry into your web.xml.