Map taglib ver. 1.3

    Custom JSP tag MapPath lets you obtain the file system path equivalent to a particular path.

For example:
 


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

Root is: <map:MapPath path="/" />

in this example tag prints real path for root directory

Tags are:

MapPath

Prints (saves in the page scope variable) a representation of a file on the local file system to which that path corresponds.

1) path source path
2) id Optional parameter. Describes a name for page scope variable (type is java.lang.String). Without this parameter tag just prints data.

for downloading:

Library: maptag.jar    Description: taglib.tld

© Coldbeans      Comments?

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

Also in Coldtags: