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. In your Java/JSP Web application WEB-INF/ folder, open web.xml for editing.
  2. Copy the following reference to the tag library into your web.xml:
    <jsp-config>
      <taglib>
        <taglib-uri>ugc</taglib-uri>
        <taglib-location>/WEB-INF/lib/ugc.tld</taglib-location>
      </taglib>
    </jsp-config>
  3. Save and close web.xml.