Let me guess, you used IE9 or IE10 in what web app server?
GlassFish by any chance?


On Tue, Jun 25, 2013 at 7:36 AM, heikki <[email protected]> wrote:

> hi,
>
> the stacktrace is here: http://pastebin.com/Kgba3zxF.
>
> I noticed I did not supply the code of getStringFromInputStream() -- I took
> it from
> http://www.mkyong.com/java/how-to-convert-inputstream-to-string-in-java/and
> it is
>
>     protected static String getStringFromInputStream(InputStream is) {
>         BufferedReader br = null;
>         StringBuilder sb = new StringBuilder();
>         String line;
>         try {
>             br = new BufferedReader(new InputStreamReader(is));
>             while ((line = br.readLine()) != null) {
>                 sb.append(line);
>             }
>         }
>         catch (IOException e) {
>             e.printStackTrace();
>         }
>         finally {
>             if (br != null) {
>                 try {
>                     br.close();
>                 }
>                 catch (IOException e) {
>                     e.printStackTrace();
>                 }
>             }
>         }
>         return sb.toString();
>     }
>
> Can you see why I get java.io.IOException: Stream Closed ?
>
> thanks,
> Heikki Doeleman
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Is-it-possible-to-change-MarkupStream-tp4659757p4659769.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to