Documentation Center

Configuring UGC in the Java/JSP web application definition

Edit the Java/JSP web application definition file, web.xml, to enable UGC.

Procedure

  1. From the installation media, copy the file Content Delivery\resources\taglib\META-INF\ugc.tld to the META-INF/ subfolder of the web application.
  2. In your Java/JSP Web application WEB-INF/ folder, open web.xml for editing.
  3. Copy the following reference to the tag library into your web.xml:
    <jsp-config>
      <taglib>
        <taglib-uri>ugc</taglib-uri>
        <taglib-location>/META-INF/ugc.tld</taglib-location>
      </taglib>
    </jsp-config>
  4. Save and close web.xml.