[Openstreetmap-dev] OutputStream Fix

ben at somethingmodern.com ben at somethingmodern.com
Fri May 27 12:40:00 BST 2005


I've been looking into how to fix the "getOutputStream called twice" error.
After much digging over various JSP forums on how to return binary data with a
JSP (much recommend "don't"), I find these magic lines at the end of the page
do it:

    out.clear();
    out = pageContext.pushBody();
    %>

It's committed and installed.

    Ben







More information about the dev mailing list