This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 60810
    
  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
help me Xsl in struts2?
Save a webpage as PDF or Excel file
Export data to Excel in Websphere Portals
Export JSP page to different worksheet of Excel Document
excel file generation in weblogic portal