1.将内容写到页面上 response.write();
2.将内容返回给请求 printwriter writer = response.getWriter(); writer.writer(); writer.flush();