response对象详解
摘要:发送状态码 状态码:200成功,302重定向,400客户端错误,500服务器端错误 类型为HttpServletResponse sendError(int sc),发送错误状态码 sendError(int sc,String msg), 还可以带一个错误信息 setStatus(int sc)
阅读全文
posted @ 2021-01-02 16:56
posted @ 2021-01-02 16:56
posted @ 2020-12-27 17:02
posted @ 2020-12-27 16:03