摘要: haha@Autowired private BufferedRequestContext brc;hellopublic void execute(@Param("to") int toNumber) throws Exception { // 必须关闭buffering,未完成的页面才会被显示在浏览器上。 brc.setBuffering(false); // 设置content type,但不需要设置charset,框架会设置正确的charset。 response.setContentType("text/html"); ... 阅读全文
posted @ 2014-03-25 00:17 Leo_Lei 阅读(191) 评论(0) 推荐(0) 编辑