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
for downloading: Library: maptag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|