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

2013-01-18 Thread S S
Hi, I am also facing the same problem while trying to download to excel. Plz let me know what code u have added to solve this problem -- View this message in context: http://struts.1045723.n5.nabble.com/Cannot-forward-after-response-has-been-committed-tp5710573p5711663.html Sent from the Strut

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: getOutputStream() has already been called for this response

2012-09-06 Thread Christopher Schultz
ateException: getOutputStream() has already been > called for this response at > org.apache.catalina.connector.Response.getWriter(Response.java:598) > > [:6.1.0.Final] Why are you calling response.getWriter() when you want to export Microsoft Excel (binary) data? You want to be using getOut

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

2012-09-05 Thread Martin Gainty
:40 -0700 > From: tammi...@gmail.com > To: user@struts.apache.org > Subject: getOutputStream() has already been called for this response > > 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 exc

getOutputStream() has already been called for this response

2012-09-05 Thread raghu88
action threw exception: java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apache.catalina.connector.Response.getWriter(Response.java:598) [:6.1.0.Final] at org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:199

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

2011-08-20 Thread Dave Newton
StateException: getOutputStream()* has > already been called for this response when I use *return > map.findForward("success")* at the end of action method. But this exception > wont appear if I return null. As I am not using writer object. But this will > not display an err

getOutputStream() has already been called for this response

2011-08-20 Thread raaja.g
Hi, I am getting the *java.lang.IllegalStateException: getOutputStream()* has already been called for this response when I use *return map.findForward("success")* at the end of action method. But this exception wont appear if I return null. As I am not using writer object. But thi

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

2008-12-10 Thread Dave Newton
uation. Dave --- On Wed, 12/10/08, red phoenix <[EMAIL PROTECTED]> wrote: > From: red phoenix <[EMAIL PROTECTED]> > Subject: getOutputStream() has already been called for this response > To: "Struts Users Mailing List" > Date: Wednesday, December 10, 2008,

getOutputStream() has already been called for this response

2008-12-10 Thread red phoenix
ure in jsp,but I find it write error information in tomcat6,like follows: fatal: Servlet.service() for servlet jsp threw exception java.lang.IllegalStateException: getOutputStream() has already been called for this response at org.apache.catalina.connector.Response.getWriter(Response.jav