java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()

Oracle Community | 3004 | 2 decades ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    HttpClusterServlet Error

    Oracle Community | 2 decades ago | 3004
    java.lang.IllegalStateException: strict servlet API: cannot call getOutputStream() after getWriter()

    Root Cause Analysis

    1. java.lang.IllegalStateException

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

      at weblogic.servlet.internal.ServletResponseImpl.getOutputStream()
    2. Atmosphere weblogic
      HttpClusterServlet$Server.proxy
      1. weblogic.servlet.internal.ServletResponseImpl.getOutputStream(ServletResponseImpl.java:123)
      2. weblogic.servlet.internal.HttpClusterServlet$Server.proxy(HttpClusterServlet.java:912)
      2 frames