<topic><title>JSP Integration Example</title><shortdesc>This page contains sample code snippets to facilitate DITA Storm editor integration. </shortdesc><body><p>Configuration: <ul><li>App Server: Apache Tomcat 5.0.28 as tested</li><li>J2EE Support: comes with Tomcat - Servlet 2.4 and JSP 2.0</li><li>Source code size: 5K</li><li>Client: Internet Explorer, Firefox</li></ul></p><p> 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.</p><p>Download <xref href="SampleDitaCMS.zip">SampleDitaCMS.zip</xref></p><p>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):</p><p>public String contentRespositoryPath = "E:/Projects/.../WebContent/content";</p><p>Package contents:<ul><li>index.jsp - entry point and file system navigation</li><li>edit.jsp - editing screen with embedded DITA Storm</li><li>save.jsp - saves data to the file system</li><li>utils.jsp - a couple of utility methods</li><li>DITAStorm/* - directory with DITA Storm product</li><li>content/* - directory with sample DITA content</li></ul></p></body></topic>
