Inmedius® DITA™ Chat | Subscribe | Email | Contact Us | Inmedius
Next Steps
Download Data Sheet
View Flash Demos
Access Online Editor
Test Drive Software
Buy It Now
Suite :: Developer : Documentation | Technology | News
Basic Editing  :  Integration  :  Customization  :  XSL Support
   :  PHP Example
   :  JSP Example
   :  JavaScript API

JSP Integration Example


Description: This page contains sample code snippets to facilitate Developer integration.

Configuration:

  • App Server: Apache Tomcat 5.0.28 as tested
  • J2EE Support: comes with Tomcat - Servlet 2.4 and JSP 2.0
  • Source code size: 5K
  • Client: Internet Explorer, Firefox

This is an example of a very simple (4 JSP files) Content Management System. This package does not contain in-place editing functionality, but allows users to browse directories and modify .dita files using Developer.

Download SampleDitaCMS.zip

Installation:


You can unpack contents into any J2EE Web application. Before using, update utils.jsp, which includes an absolute path to the directory containing the DITA files (`content' directory like the one in the package):

public String contentRespositoryPath = "E:/Projects/.../WebContent/content";

Package contents:

  • index.jsp - entry point and file system navigation
  • edit.jsp - editing screen with embedded Developer
  • save.jsp - saves data to the file system
  • utils.jsp - a couple of utility methods
  • DITAStorm/* - directory with Developer product
  • content/* - directory with sample DITA content
Site Map Privacy Statement | Terms of Use
©2005-2008 Inmedius, Inc. All rights reserved. | DITA Links: