Bug report #706 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/706>

REPORT #706 Details.

Project: Jasper
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: low
Severity: non-critical
Confidence: public
Environment: 
   Release: 3.2.b7
   JVM Release: Sun 1.3
   Operating System: Linux
   OS Release: Red Hat 6.2
   Platform: Tomcat

Synopsis: 
out.flush() call in jsp page.

Description:
In the generated final block of code of a jsp's java file, jasper does the following:

        } catch (Exception ex) {
            if (out.getBufferSize() != 0)
                out.clearBuffer();
            pageContext.handlePageException(ex);
        } finally {
            out.flush();
            _jspxFactory.releasePageContext(pageContext);
        }

This causes an issue if the jsp page is generating binary data. You get an exception 
thrown as you're not allowed to talk to the Writer if the OutputStream is being used.
Title: BugRat Report # 706

BugRat Report # 706

Project: Jasper Release: 3.2.b7
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: low Severity: non-critical
Confidence: public

Submitter: Henri Yandell ( [EMAIL PROTECTED] )
Date Submitted: Jan 5 2001, 10:33:15 CST
Responsible: Z_Tomcat Alias ( [EMAIL PROTECTED] )

Synopsis:
out.flush() call in jsp page.
Environment: (jvm, os, osrel, platform)
Sun 1.3, Linux, Red Hat 6.2, Tomcat

Additional Environment Description:

Report Description:
In the generated final block of code of a jsp's java file, jasper does the following: } catch (Exception ex) { if (out.getBufferSize() != 0) out.clearBuffer(); pageContext.handlePageException(ex); } finally { out.flush(); _jspxFactory.releasePageContext(pageContext); } This causes an issue if the jsp page is generating binary data. You get an exception thrown as you're not allowed to talk to the Writer if the OutputStream is being used.

How To Reproduce:
null

Workaround:
null

View this report online...
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to