2 Replies Latest reply on Jul 3, 2008 6:21 PM by norman

    PDF on Glassfish V2 Not Working

    juneau001

      Is anyone successfully using PDFs with Glassfish v2?  I am unable to use the PDF system because I receive a The requested resource () is not available. error each time I try to invoke the page.  I tried using both the standard configuration (just added JARs to WEB-INF/lib) as well as advanced (Added servlet to web.xml and modified components.xml accordingly), and neither works.


      By the way, coding a servlet for itext works, but I would rather use a template so we can change it without redeploying if necessary.


      I am using Seam 2.0.2 and trying to display the following
      (testPdf.xhtml):



      <p:document xmlns:p = "http://jboss.com/products/seam/pdf"
                  title="Test PDF">
        The document goes here.
      </p:document>
      




      Using the URL:http://localhost:8080/AppName-war/testPdf.seam


      Can anyone assist?


      Thanks