java.lang.IllegalStateException: getWriter() has already been called for this response

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/shujuku____/article/details/102724304

         // response object conventional method
        @ 1 may be used as the output character.
        Resp.getWriter () Write ( "ah");
        // 2-byte for output
        resp.getOutputStream () print ( "ha"). ;

These outputs are only written one, not two write together

 

Guess you like

Origin blog.csdn.net/shujuku____/article/details/102724304