Apache JSSI is Java servlet that provides support for including dynamic servlet output from within HTML documents via the <SERVLET> tag as specified by the JavaSoft Java Web Server.
Apache JSSI parses JHTML files, executes the servlets as specified by the <SERVLET> tag and replaces those tags with the output of the executed servlet. The <SERVLET> tag can be seen as the server side equivalent of the <APPLET> tag.
Note that SSI files for java servlets are called JHTML files in the apache context while SHTML files are usually for traditional SSI (like <!--#ECHO -->). This is a bit confusing since in the Java Web Server (SUN) context SHTML files are used for java servlet SSI files and JHTML is used for page compiled pages. Java Apache SSI does not support page compiling.
With the Apache JSSI you can do more: It understands some of the traditional <!--# like SSI commands and provides the option to automatically rewrite URLs with parameters to allow session tracking with SSI pages.
There is an experimental feature which compresses the output if the pagesize exceeds a configurable limit and the browser accepts it.
Apache JSSI is a servlet based on the JavaSoft Servlet API 2.0 and can be executed by any web server that can execute such servlets.
Install it like any other servlet and map the *.jhtml-extension to be handled with this servlet.
Apache JSSI may be find in the distribution section or in the "jserv_ssi" CVS module.
Send bug reports, suggestions and ideas to the main Java Apache Mailing List, specifying [jservssi] in your mail subject.
Copyright (c) 1997-99 The
Java Apache Project.
All rights reserved.