1 16 17 package org.apache.taglibs.response; 18 19 import java.io.*; 20 import java.util.*; 21 import javax.servlet.*; 22 import javax.servlet.http.*; 23 import javax.servlet.jsp.*; 24 import javax.servlet.jsp.tagext.*; 25 26 39 40 public class FlushBufferTag extends TagSupport 41 { 42 43 48 public final int doEndTag() throws JspException 49 { 50 try { 51 pageContext.getResponse().flushBuffer(); 52 } catch(IOException e) { 53 throw new JspException("Response flushBuffer tag failed: " + 54 e.getMessage()); 55 } 56 return EVAL_PAGE; 57 } 58 59 } 60 | Popular Tags |