DITA Storm browser-based DITA XML Editor
by Inmedius Inc.
 

JSP Integration Example

Description: This page contains sample code snippets to facilitate DITA Storm editor 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 browsing directories and modifying .dita files using DITA Storm editor.

Download SampleDitaCMS.zip

Installation: You can unpack contents into any J2EE web application. Before using it you would need to update utils.jsp. It contains absolute path to the directory containing 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 DITA Storm
  • save.jsp - saves data to the file system
  • utils.jsp - a couple of utility methods
  • DITAStorm/* - directory with DITA Storm product
  • content/* - directory with sample DITA content

Copyright © 2007
Inmedius Inc.