1 Reply Latest reply on Dec 12, 2007 2:24 PM by Norman Richards

    pdf/DocumentStore documentation

    Eric Nelson Newbie

      I believe http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/itext.htm may be somewhat out of date.

      In section 16.8.1 the web.xml entries do not work for me in 2.0 GA.


      <filter>
      <filter-name>Seam Servlet Filter</filter-name>
      <filter-class>org.jboss.seam.servlet.SeamServletFilter</filter-class>
      </filter>

      <filter-mapping>
      <filter-name>Seam Servlet Filter</filter-name>
      <url-pattern>*.pdf</url-pattern>
      </filter-mapping>

      <servlet>
      <servlet-name>Document Store Servlet</servlet-name>
      <servlet-class>org.jboss.seam.pdf.DocumentStoreServlet</servlet-class>
      </servlet>

      <servlet-mapping>
      <servlet-name>Document Store Servlet</servlet-name>
      <url-pattern>*.pdf</url-pattern>
      </servlet-mapping>


      should perhaps be replaced with


      <servlet>
      <servlet-name>Document Store Servlet</servlet-name>
      <servlet-class>org.jboss.seam.pdf.DocumentStoreServlet</servlet-class>
      </servlet>

      <servlet-mapping>
      <servlet-name>Document Store Servlet</servlet-name>
      <url-pattern>*.pdf</url-pattern>
      </servlet-mapping>


      The itext example project was updated, but it seems the documentation was missed.

      Also, it may be helpful to indicate in section 16.1 that jcommon.jar and jfreechart.jar also seem to be necessary for itext.

      Should this kind of thing be entered in JIRA?