This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

JavaRanch » Java Forums » Java » JSP
Bookmark "Getting Error While Exporting Excel" Watch "Getting Error While Exporting Excel" New topic

Getting Error While Exporting Excel

Arunkumar Chinnadurai
Ranch Hand

Joined: Dec 15, 2011
Posts: 56


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

Arunkumar C

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63208

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


I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Getting Error While Exporting Excel
It's not a secret anymore!