Christopher Becker wrote:
Hi - I am using displaytag v1.0 , and currently am trying to implement the exporting feature. I am working with Struts 1.2.8, and am also using Tiles for for display layout. I am testing the excel export format. The problem is the results (formatted output) replace the displaytag table within the .JSP page that contains it, and the export file dialog does not display. I am testing with the following displaytag.properties file: export.types=excel
export.decorated=true
export.excel=true
export.csv=false
export.xml=false
export.pdf=false
export.excel.class=org.displaytag.export.ExcelView
export.excel.filename=billaccts.xls
Any assistance provided would be appreciated. I am planning to upgrade to 1.1, but cannot implement this at the moment. Regards, --Chris

Have you included this all important filter to your web.xml file? ISTR that it should be the last filter defined in the file. I'd change the url-pattern to something more specific than /*.

 <filter>
   <filter-name>ResponseOverrideFilter</filter-name>
<filter-class>org.displaytag.filter.ResponseOverrideFilter</filter-class> </filter>
 <filter-mapping>
   <filter-name>ResponseOverrideFilter</filter-name>
   <url-pattern>/*</url-pattern>
 </filter-mapping>

Ed!



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to