>I am new to apache and jserv.  I want to use the JservSSI servlet, and
>it says to follow the Apache JServ docs on how to map URI's to
>servlets.....specifically.....to have documents with a .jhtml extension
>handled by this JServSSI servlet.
>
>But I can't seem to find any info anywhere on how to map the .jhtml URI
>to a specific servlet.  Can someone please point me in the right
>direction?

In my jserv.conf file I added

        ApJServAction .jhtml /servlet/org.apache.jservssi.JServSSI

In my jserv.properties file I added

        wrapper.classpath=/usr/local/Apache-JServ-SSI/src/ApacheJServSSI.jar

Note that the <SERVLET> tag example in Hunter's book (pp. 27-30) doesn't
work exactly as he describes (With no parameter, the first tag in the HTML
throws a NullPointerException.)

--------------------------------------------------------------------------
Thad Humphries                              "Microsoft... What do you want
Software Engineer (aka, Nerd)                to reinstall today?"
Phone: 540/675-3015, ext. 225                                    - Unknown




----------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to