flushBuffer
public void flushBuffer()
throws IOException
Forces any content in the buffer to be written to the client. A call to this method automatically commits the response, meaning the status code and headers will be written. IOException
See Also:
setBufferSize(int), getBufferSize(), isCommitted(), reset()
public void flushBuffer()
throws IOException
Forces any content in the buffer to be written to the client. A call to this method automatically commits the response, meaning the status code and headers will be written. IOException
See Also:
setBufferSize(int), getBufferSize(), isCommitted(), reset()
response.setHeader("cache-cntrol","no-cache");
response.setDateHeader("Express",0);
0是页面生存周期,你可以指定时间