This content has been marked as final.
Show 3 replies
-
1. Re: Seam 2.2.2.Final (JBoss 6.1.0), DocumentStore and PDF
java.n.linux Apr 18, 2012 8:49 AM (in response to dlenir)Hi David,
Thanks to your post, I have successfully used JasperReports with JBoss AS 5.1, with Seam 2.2.2 final
path to report is similar to this:
/myApp/report.pdf?docId=12&cid=1
I'll try to use with /report.seam like you said and see if it works
-
2. Re: Seam 2.2.2.Final (JBoss 6.1.0), DocumentStore and PDF
java.n.linux Apr 18, 2012 10:35 PM (in response to dlenir)Hi David,
Even with JBoss 5.1, using your report.seam path, I got the same 404 error as yours.
I think it's because your path doesn't end with .pdf, so the request does not go to Document Store Servlet
<servlet-mapping>
<servlet-name>Document Store Servlet</servlet-name>
<url-pattern>*.pdf</url-pattern>
</servlet-mapping>Regards,
Hoang
-
3. Re: Seam 2.2.2.Final (JBoss 6.1.0), DocumentStore and PDF
dlenir Apr 23, 2012 12:22 PM (in response to java.n.linux)Hi Hoang,
Thanks a lot for your answer and your tests.
I didn't change my path after migrating to JBoss 6 : it still ends with ".pdf". In the bean action :
return "/report.pdf?docId=" + reportId;
And the error says "report.seam does not exist...".
I'm missing something...
David