JspWriter taglib ver. 1.3


    Custom JSP taglib. Includes simple wrappers for JspWriter methods. Tag clear lets you clear output, tag flush flushes data, tag clearBuffer clears buffer.

Use cases. If you want to pass huge data to the client from your JSP page, user may need to wait till JSPWriter flushes the data. The better approach is to flush the data partly using flush tag rather than flushing whole data at a time.

For example:
 


<%@ taglib uri="taglib.tld" prefix="out" %>
<out:flush/>

Tags are:

clear

Clears output. Parameters are:

1) cond Optional parameter. Describes a boolean value tag's behavior depends on. Default value is true (clear output).

clearBuffer

Clears buffer. Parameters are:

1) cond Optional parameter. Describes a boolean value tag's behavior depends on. Default value is true (clear buffer).

flush

Flushes data. Parameters are:

1) cond Optional parameter. Describes a boolean value tag's behavior depends on. Default value is true (flush data).

for downloading:

Library: writetag.jar    Description: taglib.tld

© Coldbeans      Comments?

See also Coldtags suite - the largest collection of custom JSP tags.

Also in Coldtags: