摘要:
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"); ... 阅读全文