Custom JSP taglib. Body tag text2html lets you convert on the fly any text into HTML format. Tag appends <br> HTML tags for the each line and replaces all special characters like < etc. You can use it for example when you need to publish some source code etc. For example:
<%@ taglib uri="taglib.tld" prefix="t2h" %> <t2h:text2html> ...<!-- e.g. include some text file --> </t2h:text2html> Tags are: text2html Body tag converts own body into HTML format. Parameters are: 1) exclude Optional parameter. Describes a string of symbols that
will be passed to HTML code "as is".
for downloading: Library: t2htag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags. |
Also in Coldtags:
|