Java Server Pages Integration

Use the following code for your JSP integration.

JSP Source with JAR file

Here is how you call it on the page directly:

<%@ page language="java" contentType="text/html; charset=UTF-8"
 <%@ taglib uri="" prefix="KT" %>
<!DOCTYPE html>
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
         <title>Insert title here</title>

         <!-- make sure to replace with your actual CMS Account Key -->
         <h1><KT:KitGUI cmsKey="00000000000000000000000000000000"
            contentID="my-page-title" contentType="INLINE" cache="false" /></h1>
            contentID="my-page-content" contentType="HTML" cache="true"/></div>

This gets more interesting when you use URL Rewriting techniques and define your content IDs based on the URL prefix so you quickly have virtually infinite templated pages.

Authored by Vijay Kumar (odesk handle vijayblp)