1 Reply Latest reply: Apr 6, 2014 7:31 AM by f3fc7243-ec95-4b94-9a4b-6d8add5d0d50 RSS

    strict servlet API: cannot call getWriter() after getOutputStream()

    f3fc7243-ec95-4b94-9a4b-6d8add5d0d50

      Hi,

       

      Am getting below exception when i click on create report button.

      It was successfully running in development machine, when we deploy the same application into the testing server.

      what could be problem..

       

      am using JSF 2.0, Primefaces 3.5, Jdeveloper and Weblogic 12 C server..

       

      java.lang.IllegalStateException: strict servlet API: cannot call getWriter() after getOutputStream()
        at weblogic
      .servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:299)
        at org
      .apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:362)
        at org
      .apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
        at org
      .apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
        at javax
      .faces.webapp.FacesServlet.service(FacesServlet.java:155)