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
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
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
3 matches
Mail list logo