Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是http://php.net/manual/en/function.flush.php的忠实粉丝
我可以使用 Java 做同样的事情吗?
感谢您的帮助
由于java中PHP的等价物是jsp+servlets,下面是实现的方法:
response.getOutputStream().flush()
<%@ page autoFlush="false" %>
输出流.flush()