When/if you use the JasperReports plugin use an older version of poi (3.0 is the latest I had success with). The new poi throws an exception which many have complained about but has not been fixed/ Chris
-----Original Message----- From: renisha <renish...@gmail.com> To: user@struts.apache.org Sent: Sun, 26 Apr 2009 1:30 pm Subject: Re: Open an excel in Struts application Thanks for your reply . I am using struts2 version. Could you please give me some sampl code if you have. Wes Wannemacher wrote: > > On Sunday 26 April 2009 11:00:59 am renisha wrote: >> Hi, >> >> I am reading some values from database , doing some calculations and >> creating an excel file. >> >> In my action class , I am returning an HSSFWorkbook object and I need to >> diaply the excel file as the output . Please let me know how do I get it >> working . > > > Which version of Struts? > > I would suggest if you are using Struts 2, then take a look at the Jasper > Reports plugin, there is XLS output from there. > > -Wes > > -- > > Wes Wannemacher > Author - Struts 2 In Practice > Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more > http://www.manning.com/wannemacher > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Open-an-excel-in-Struts-application-tp23243002p23244421.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org