7 Replies Latest reply on Apr 12, 2007 10:46 AM by Prem Kosta

    Seam PDF: w/o cookies-a bug??

    Prem Kosta Newbie

      Hi.,

      Envirnoment: Seam 1.1.6 GA, Ajax4Jsf 1.1.0rc1, MyFaces 1.1.5, Tomahawk 1.1.3, Tomcat 5.5.20 Embed microcontainer

      Problem:
      Seam PDF generation without cookies not working.

      Detail:
      If i disable cookies on Tomcat (or whatever server), then on clicking link (whatever s:link or commad/output link) for seam PDF, it throws resource not found on browser (tested on both FF and IE).
      NO STACK TRACE ON DEBUG CONSOLE.

      If i enable cookies then its working.

      WEB.xml (PDF section)

      <!-- SEAM PDF -->
      
       <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>
      
      
       <filter>
       <filter-name>Seam Redirect Filter</filter-name>
       <filter-class>org.jboss.seam.servlet.SeamRedirectFilter</filter-class>
       </filter>
      
       <filter-mapping>
       <filter-name>Seam Redirect Filter</filter-name>
       <url-pattern>*.seam</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>
      


      COMPONENTS.xml

       <pdf:documentStore useExtensions="true" />
      


      I would like to use Seam's PDF feature at any cost so plz help me.

      Thanks