Meaningless Drivel is fun!*
The moose likes JSP and the fly likes Getting Error While Exporting Excel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Getting Error While Exporting Excel" Watch "Getting Error While Exporting Excel" New topic
Author

Getting Error While Exporting Excel

Arunkumar Chinnadurai
Ranch Hand

Joined: Dec 15, 2011
Posts: 56

Hi,

As a developer i got another chance to learn something from following error

i have called the exporting to excel from my servlet code... i got this following error




i think this error for more then once if i call response.getOutputStream();

Plase any one can help me...

Regards,
Arunkumar C

Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60046
    
  65

Where's your code? Please be sure to UseCodeTags when posting the code.

And surely you are using a servlet for this, and not a JSP? :shock:


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Arunkumar Chinnadurai
Ranch Hand

Joined: Dec 15, 2011
Posts: 56

Hi Friends...

I got the answer.....


Actually i have called two times in writer option

one is PrintWriter
Secound one is getOutputStream..

so now i get clear....

Report.jsp





 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting Error While Exporting Excel
 
Similar Threads
excel file generation in weblogic portal
help me Xsl in struts2?
Export JSP page to different worksheet of Excel Document
Export data to Excel in Websphere Portals
Save a webpage as PDF or Excel file