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
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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
raghu88,
On 9/4/12 2:25 AM, raghu88 wrote:
> i am trying to export some data to excel file...while doing this i
> am getting following exception:
> Servlet.service() for servlet action threw exception:
> java.lang.IllegalStateException: getOutputSt
Imagine you are the connector-code
Someone has called getOutputStream to write (some Thread Local data) to your
HttpServletResponse object
then the call to getOutputStream (to the same thread) of HttpServletResponse is
called AGAIN
Which OutputStream is the connector supposed to write (its Thre
A request can only return one response: the file, or a forward (assuming
it's not some sort of streaming forward).
That method is pretty hard to follow, and should be refactored, IMO.
Dave
On Saturday, August 20, 2011, raaja.g wrote:
> Hi,
>
> I am getting the *java.lang.IllegalStateException:
When you return SUCCESS you're asking S2 to process the response normally. I'd
assume you'd need to return null to indicate that S2 shouldn't do anything.
I don't actually know if that works, because there's a stream result type
designed specifically for this situation.
Dave
--- On Wed, 12/10
6 matches
Mail list logo