Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pdf & rtf export options are not coming on jsp using displaytag table.

 
Vikas Aricent
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends,
my question might sounds funny..but i am getting mad with following problem:
Actually i am using displaytag table with jsp and also using the export property to convert the table into pdf and rtf. the day before today, it was working fine..mean i was able to export the data into pdf and rtf. but today...pdf and rtf export options are not appearing in jsp. When i tried to export it into csv,excel and xml..it's working fine.
I am attaching my displaytag.properties file. And please let me know...i have got stuck due to this strange behavior. And one more thing i have also added the filter in web.xml like this:


<filter>
<filter-name>ResponseOverrideFilter</filter-name>
<filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class>
</filter>


<filter-mapping>
<filter-name>ResponseOverrideFilter</filter-name>
<url-pattern>*.do</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>ResponseOverrideFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>

<filter-mapping>
<filter-name>ResponseOverrideFilter</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
following is my displaytag.properties


#sort.behavior=list
#sort.amount=list
basic.empty.showtable=true
#basic.msg.empty_list=No results matched your criteria.
paging.banner.placement=bottom
#paging.banner.onepage=<span class="pagelinks"></span>
export.types=csv excel xml pdf rtf
#export.decorated=false
#export.amount=list
#export.csv=false
#export.excel=false
#export.xml=false
export.pdf=true
export.rtf=true
export.excel.class=org.displaytag.export.excel.DefaultHssfExportView
export.pdf.class=org.displaytag.export.DefaultPdfExportView
export.rtf.class=org.displaytag.export.DefaultRtfExportView
#export.pdf.label=pdf
export.pdf.include_header=true
export.pdf.filename=ProjectReport
locale.provider=org.displaytag.localization.I18nStrutsAdapter
# if set, file is downloaded instead of opened in the browser window
#export.[mymedia].filename=




so friends pl let me know about this

Thanks
Vikas



 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic