AttributionsTogether: 1
IDependOn-Set: 1
IDependOn-Set: 125
IDependOn-Set: 127
IDependOn-Set: 172
IDependOn-Set: trash
LastModifiedSecs: 927138234
Parent: trash
SequenceNumber: 3
Title: JServSSI configuration
Part: 0
Author-Set: doug.peck@nsmg.seagatesoftware.com
LastModifiedSecs: 925177140
Type: 
Lines: 14
I am running Apache (1.3.3) on Linux (RH 5.1).  I have found several things I had to change from the default or instructions in the book to get JServSSI to work:

1) Make sure the class name in the ApJServAction .jhtml ... line in the master properties file (jserv.properties in my case) is org.apache.jservssi.JServSSI.  The last two items in the default were incorrect.

2) I can either include the ApacheJServSSI.jar in my classpath, or I can point to it in a repositories statement in my zone properties file for the zone indicated by the ApJServAction line in the master properties file.  Either (or both) seem to work.

3) When passing parameters from the called servlet to the .jhtml file, put the parameters in quotes in the .jhtml file, like so:

  <PARAM NAME="name" VALUE="doug">

  otherwise I get a NullPointerException when I call GetParameter.

4) I also tried putting the "jar" file with JServSSI in it into my classpath, and referencing it in jserv.properties like this:  ApJServAction .jhtml org.apache.jservssi.JServSSI - without the zone, and it would not work.  I had to use a zone.

EndPart: 0
