以返回404状态码为例,在Spring 的Controller里面我们可以有以下3种 ... SC_NOT_FOUND);//设置状态码} return .... } } 更多详情: Spring MVC 文档.
確定! 回上一頁