I have set
<display:setProperty name="export.pdf" value="true" />
in my JSP page.However I do not get the PDF link in Export Options.Is there anything else that needs to be done.I am working with Tomcat 5.0.24 and Struts
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Fabrizio
It works.The only hitch now is when it pops up the dialog box for opening/saving the PDF...saving and then opening works.However if I directly open it gives an error saying
There was an error opening the document.This file cannot be found.
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
did you configured the request filter for exporting? This sounds like displaytag is not able to correctly write to the response.
Try saving the file to disk and opening it with a text editor to analyze its content
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have set
<display:setProperty name="export.pdf" value="true" />
in my JSP page.However I do not get the PDF link in Export Options.Is there anything else that needs to be done.I am working with Tomcat 5.0.24 and Struts
you also need to add the itext jar to your web application classpath, see:
http://displaytag.sourceforge.net/export.html
Thanks Fabrizio
It works.The only hitch now is when it pops up the dialog box for opening/saving the PDF...saving and then opening works.However if I directly open it gives an error saying
There was an error opening the document.This file cannot be found.
Any ideas?
I get an error message when acrobat opens up saying "File does not begin with '%PDF-". Anyone have any ideas why?
did you configured the request filter for exporting? This sounds like displaytag is not able to correctly write to the response.
Try saving the file to disk and opening it with a text editor to analyze its content