you may look here: C:\tomcat\webapps\irj\services\htmlb\taglib
and here:
C:\tomcat\webapps\examples\WEB-INF\jsp
for examples. You may also create a custom taglib :
Tag Lib Packaging All Java Server Pages (JSP) that are compiled in a Portal component can use custom tags lib by following the rules described below: The class file that implements the tag lib definition must be packaged in the lib or classes directory of the Portal Component PAR file. The JSP file that references the tag library can use the custom tag library definition property to reference the tag Library as follows: <%@ taglib uri="[uri]" prefix="custom" %>
see also PRT Guide:
[uri] Directory Description Profile .../.../custom.tld Same as current JSP Takes the tag library definition file relatively to the current JSP None prt:taglib:custom private folders The tag library is referenced by an identifier that must be defined in the profile of the component. The ID here is custom. If the JSP page is included in a component as a resource, the tag library must be defined in the profile of the component. custom=/taglib/custom.tld
Add a comment