Socket taglib ver. 1.2

    Custom JSP taglib. Provides a simple tool for operating with sockets. Body tag readSocket posts own body to the given host and prints output. For example:

<%@ taglib uri="taglib.tld" prefix="t" %>

<t:readSocket host="localhost" port="8080">GET /index.html HTTP 1.0\n</t:readSocket>

Tags are:


Body tag, sends own body "as is" to the given host and prints output. Parameters are:

1) host Describes a host.
2) port Describes a TCP/IP port
3) id Optional parameter. Describes a name for the page scope variable (type is java.lang.String). With this parameter result will be saved in this variable, without it tag just prints output data.

for downloading:

Library: sockettag.jar    Description: taglib.tld

© Coldbeans      Comments?

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