getOutputStream() has already been called for this response

2012-09-05 Thread raghu88
hi to all, please any one help me .i am trying to export some data to excel file...while doing this i am getting following exceptionrecently i was done clustering with jboss and apache...then onwards i am getting this error Here is the stack trace... Servlet.service() for servlet act

Re: getOutputStream() has already been called for this response

2012-09-12 Thread raghu88
now this problem is solved i added a piece of code the file is downloading when downloading the file it gives an exception "cannot forward after response has been committed" .and i am trying to open the file it says "the file you are trying to open .xls is in a different format than specified

Re: Cannot forward after response has been committed...

2013-01-18 Thread raghu88
Hi S S, i am solved this problem by changeing return stream .hope this helps to you File file=null; file = new File(path); return FileStreamInfo object instead of ResourceStreamInfo and pass content type and File class object. return new FileStreamInfo(contentType, file); -- V