Issue 115: Export - One Response and Two getOutputStream
Status:  WontFix
Owner: ----
Closed:  Jul 2008
Reported by rubendar...@gmail.com, Jul 7, 2008
I Try export table to CSV file, but response is call to getOutputStream twice

java.lang.IllegalStateException: getOutputStream() has already been called
for this response

What version of the product are you using? On what operating system?

I'm try to use JMesa 2.3.2 with Java 1.6, Spring 2.0 and WebFlow

Thank you for help me

 
Jul 7, 2008
#1 extremec...@gmail.com
Most likely you have a few filters defined in your web.xml and one of them is causing
the problem. If that is the case I would recommend going through each one until you
find out which one is conflicting. If that turns out to be the case then we will see
if something can be done about it.

The way JMesa handles exports, especially with CSV, is very straightforward so in
general exports have been working very well. Hopefully we can get yours working as well.
Jul 14, 2008
#2 rubendar...@gmail.com
The problem is by the use of Spring Web Flow. This technology make a
getOutputStream() in his code, and this code too.

Spring Web Flow and JMesa appear to be incompatible.
Jul 14, 2008
#3 extremec...@gmail.com
Do you know what the recommended way to do exports with Spring Web Flow is? 

One thing I like about the Spring framework is how simple they make the Model 2
environment. Writing out to the response is completely supported.
Jul 26, 2008
#4 extremec...@gmail.com
Closing as there is no reply on the outcome.
Status: WontFix