Custom JSP tags library lets you embed document view from Google Docs. This feature lets you include documents view
for .pdf, .ppt etc. objects:
<%@ taglib uri="taglib.tld" prefix="v" %> <v:DocView width="400px" height="410px">/doc/myfile.pdf</v:DocView> Tag's body describer your URI (relatively your context path). And of course you can always provide a full URL here (e.g. http://your_host/doc/myfile.pdf). Tags are: DocView Body tag lets you embed document view. Tag's body presents some URI for the document. Attributes are: 1) width Describes a width for the viewer
for downloading: Library: docviewtag.jar Description: taglib.tld See also Coldtags suite - the largest collection of custom JSP tags.
|
Also in Coldtags:
|