----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Hello, people!

I'm encountering difficulty using server-side includes with Apache JServ on
a Windows 98 workstation as well as a Windows NT workstation.  My <SERVLET
...> snippets are being ignored entirely and I could not find anything
unusual in the error log, nor was I able to find any help on this matter in
the FAQ.  (I acknowledge I may be stupid.)  If anyone can help me, I would
appreciate it gratefully.  I'm trying to do this using the following:

OSes: Windows 98, Windows NT 4 [SP4]
Apache web server 1.3.12
Apache JServ 1.0

I have the following lines listed in my zone properties file (the latter
being the one I added in an attempt to make use of the ApacheJSSI.jar file
as the instructions listed):

repositories=C:\Program Files\Apache Group\Apache JServ\servlets
repositories=C:\Program Files\Apache Group\Apache JServ\ApacheJSSI.jar

Please note:  I did not build this jar myself, I just took it out of the
archive.  My jserv.properties file has the following line which I'm not
confident with:

ApJServAction .jhtml C:\Program Files\Apache Group\Apache
JServ\servlets\org.apache.servlet.ssi.SSI

I don't quite see why the path I've specified above should work, but I
entered it that way because the documentation states as follows:

*******************************
In your Apache config file add: 
         ApJServAction .jhtml /servlets/org.apache.servlet.ssi.SSI
Change the /servlets/ part to be the location of your zone. 
*******************************

To test this, I created a "test.jhtml" file in my Apache\htdocs directory
with the following contents:

<HTML>
<HEAD>
<TITLE>Test Page</TITLE>
</HEAD>
<BODY>

<SERVLET CODE="Test.class">
<PARAM NAME="name" VALUE="Nick">
This should not appear.
</SERVLET>

</BODY>
</HTML>

I'm fairly certain that I don't have SSI set up properly because the text
"This should not appear." does, unfortunately, appear.  I have a working
Test.class that I've tested without SSI which simply returns "Hello,
<name>!"

If anyone can help me enable SSI, I would be very grateful.  I hope I've
included enough information.

Thank you very kindly beforehand,
Nick Katsifarakis


--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
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