Configuring the API server role for a JSP Web application

Configuring the API server role involves registering Java Tag Libraries and setting up the Ambient Data Framework.

Procedure

  1. Follow the universal procedure for installing a server role describing how to install the files you need for each specific server role.
  2. Ensure that you have a Java Development Kit (JDK) 5 or 6 installed.
  3. Access the root of your Web application and copy the file cd_tags.tld (the tag library) from the Content Delivery\resources\tld\ folder on the SDL Tridion installation media to the WEB_INF/lib/ subdirectory of your Web application.
  4. Add the following XML fragment to the web.xml file of the Web application:
    <taglib>
          	<taglib-uri>cd_tags</taglib-uri>
          	<taglib-location>/WEB-INF/lib/cd_tags.tld</taglib-location>
     </taglib>
  5. Save and close web.xml.