Custom JSP tag. Lets you generate a random passwords in your applications.
For example:
Tags are:
Password
Generates a random string (password). Parameters are:
1) length Optional parameter. Describes a length for the generated password.
Default value is 6.
2) digits Optional parameter. Possible values are true
or false. If this value is true password will be generated from digits only
(useful for WAP applications). Default value is false.
3) id Optional parameter. Describes a variable for storing the generated password (type is
java.lang.String). Without this parameter tag just prints the password.
4) scope Optional parameter. Describes a scope for the variable (see parameter id).
Possible values are page, request, session or application. Default value is page.
for downloading:
Library: passtag.jar Description: taglib.tld
See also Coldtags suite - the largest collection of custom JSP tags.