• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Export to Excel not Working

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I am using displaytags in my reports.
when I click csv export link it is working fine but when
i click excel export link it is giving
the following error

servlet failed with exception java.lang.NULLPOINTER Exception
at org.displaytag.export.ExportViewFactory.getView(ExportViewFactory.java:161)

1)Can anybody tell where i am going wrong. How can i make my Excel Export work.

I have displaytag1.1 .jar,displaytag-export-poi1.1.jar in
my classpath.

2)If anybody can give clear steps to be followed
while using displaytags will be helpful.
3) If I want only Excel export link on report but not CSV export link.
where and what changes i have to do for this to effect.

thanks in advance
 
chetan raj
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Please
give some reply. Any help or
suggestion on this will be greatly
helpful.

thanks in advance
 
Greenhorn
Posts: 26
Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can any one please reply here i am getting same error like above and not using struts , <jsp:include using >
 
A berm makes a great wind break. And we all like to break wind once in a while. Like this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic