0 Replies Latest reply on Apr 27, 2012 9:01 AM by 849029

    Getting java.io.IOException in a custom jsp

    849029
      We are implementing iSupport 11.5.10

      We have already created 1 custom jsp which is working fine.
      We are calling another custom jsp from the first one. However we are getting following error in 2nd custom jsp:
      java.io.IOException: Unable to clear JspWriter buffer, data already written to stream.

      The stack trace is as follows:
      <!-- Error stack of the JSP exception if any:
      java.io.IOException: Unable to clear JspWriter buffer, data already written to stream.
           at oracle.jsp.runtime.OracleJspWriter.clear(OracleJspWriter.java:521)
           at oa_html._xxeegibuIBServiceRequests._jspService(_xxeegibuIBServiceRequests.java:2246)
           at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
           at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
           at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
           at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
           at oracle.jsp.JspServlet.service(JspServlet.java:156)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
           at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
           at org.apache.jserv.JServConnection.run(JServConnection.java:294)
           at java.lang.Thread.run(Thread.java:637)

      Please note that in order to display standard left menu we have included following seeded jsps in both the custom jsps:
      ibucincl.jsp : added at the begining
      ibucinit.jsp : added after imports
      ibucbst.jsp : added before <form> tag (before rendering page body)
      ibucbend.jsp : added at the end (after rendering page body)

      This works fine for first custom page. However in 2nd custom page, it shows standard left menu as well as the error.
      iSupport experts, please let us know if we are missing something.

      Thanks