Skip to Content
author's profile photo Former Member
Former Member

Tag libs in Enterprise Portal

Hi,

Can anybody guide me on how to implement one's own java tag libs in EP 5.0/EP6.0?

The normal way of deploying and using the tag libs in a J2EE app server is not working.

I am currently working with PDK and Tomcat 3.3 on my machine.

thanx in advance

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 17, 2004 at 09:26 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.