Custom JSP taglib lets you read client's information in your web applications. Tag clientInfo lets you read
on your server side some data about your client such as local time, timezone, screen's settings etc. You have to use this tag inside of
our Form taglib or within HTML forms. Tag creates hidden variables initialized by user's
settings. So you will be able to read these data as parameters in your requests. For example:
<%@ taglib uri="taglib.tld" prefix="c" %> <form name="myForm" method="post" action=...> ... <c:clientInfo what="time" param="t" formName="myForm"/> <c:clientInfo what="java" param="j" formName="myForm"/> ... </form> here your form will have two hidden variables with names t and j. Parameter what describes an attribute for client's browser. And on your server-side application you can use for example a standard call like request.getParameter("t") etc. Possible values are:
Tags are: clientInfo Tag creates a hidden form variable with client's data. Parameters are: 1) what Describes an attribute requested from client's browser. See above for the list of possible values.
for downloading: Libraries: clienttag.jar formtag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|