jhorsman
10/27/2014 - 8:24 AM

Java DCP example

Java DCP example

<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ page language="java"%>
<%@ page import="java.net.URI" %>
<%@ taglib uri="cd_tags" prefix="tridion" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ page import="java.util.*" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <title>DCP example</title>
</head>
<body>
  <h1>DCP example</h1>
  <tridion:ComponentPresentation pageURI="" componentURI="tcm:1-55-16" templateURI="tcm:1-52-32"/>
  tridion:ComponentPresentation componentURI: tcm:1-55-16 templateURI: tcm:1-52-32
</body>
</html>