DisplayTag

I am not able to export to excel

Details

  • Type: Task Task
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 1.0
  • Fix Version/s: TBD
  • Component/s: Export
  • Labels:
    None
  • Application server:
    Weblogic 8i

Description

I am using display tag to export to excel.

I installed export filter in web.xml as below

<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>

 I created displaytag.properties file and changed properties as follows
export.excel=true
export.excel.label=Excel
export.excel.include_header=false
export.amount=page
export.decorated = false
export.excel.filename=filename.xls

when I click on "Excel", I do get pop up window asking if I want to save to a file or open. But when I click on open, an excel window is opened, but tableModel is not exported.

I am using displaytag-1.0.jar and displaytag-el-12.tld. My jsp page is just straingt forward with export set to true at table level.

Why can't I export to excel, what am I missing . Attached are the xls file after I exported to excel and screen pritn of my web page. Not able to attach files
  1. filename.xls
    21/Nov/05 1:22 PM
    13 kB
    karuna gangula
  2. Nag Monitor Monitored Nags.doc
    21/Nov/05 1:56 PM
    299 kB
    karuna gangula

Activity

Hide
karuna gangula added a comment -
screen print of my web page
Show
karuna gangula added a comment - screen print of my web page

People

  • Reporter:
    Anonymous
Vote (1)
Watch (2)

Dates

  • Created:
    Updated:

Time Tracking

Estimated:
4h
Original Estimate - 4 hours
Remaining:
4h
Remaining Estimate - 4 hours
Logged:
Not Specified
Time Spent - Not Specified