Registering custom tags in Java-based Page Templates (deprecated in-process setup)

If you have a Java/JSP website, to use the Experience Optimization JSP Custom Tags, change all relevant Page Templates to add an instruction to register the Custom Tags to the top of every published webpage that uses these controls.

Procedure

  1. Open your Page Templates.
  2. Add the following lines to the template's source so that it is included in the generated output:
    <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
    <%@ taglib uri="http://www.sdl.com/smarttarget/2.0" prefix="smarttarget" %>
    <%@ taglib uri="http://www.sdl.com/delivery/tags/cd/2.0" prefix="tridion" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ page isELIgnored="false" %>