jsp中的内置对象out.print方法和response.getWrite().print()有什么区别????
以下是我做的测试
.jsp文件为
<%@ page contentType="text/html;charset=gb2312" %>
<html>
<head><title>三维购物广场</title></head>
<body>
<%out.print("out.print");%>
<% response.getWriter().print("response.print()"); %>
</body>
</html>
结果在浏览器中输出的结果为:
查看他的页面源码为:
到底这两个方法有什么区别啊???