----------------------------------------------------------------
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!!!
----------------------------------------------------------------

First of all where do you put yuor hi.jhtml? Secondly how do you 
request hi.jhtml. It looks like you request the wrong URL or your 
jhtml file is in the wrong place.

Your jhtml files supposed to be anywhere in htdocs or its subdirs.
Your class file I guess is in the right place, since you were able
to run it. If you placed your jhtml file in the same directory
where your classes are try to move it into different directory.

On Wed, 10 Nov 1999, David Proksch wrote:

> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
> 
> hi!
> 
> Sorry for the bandwidth, but I'm pulling my hair out here trying to get JSSI
> to work with JServ.  I can run servlets from the /servlets directory, i.e.,
> http://localhost:80/servlets/Hello, but when I create a hi.jhtml file which
> looks like this:
> <html>
> <head>
> <title>Sample jhtml file</title>
> </head>
> <body>
> <servlet name="Hello">
> It is not working :(
> </servlet>
> </body>
> </html>
> 
> I get the message back: 404: Java Server Side Include Error, 
> Requested URI /servlets/hi.jhtml is not a file. Please, make sure you request a java 
>server side include file.  Hello is the standard test .java/.class file
> which comes with JServ.
> 
> I have uncommented the line ApJServAction .jhtml /servlets/org.apache.servlet.ssi.SSI
> in the jserv.conf file and added a respository line in zone.properties to
> point to the ApacheJSSI.jar file.
> 
> I am using Red Hat 6.0, Apache 1.3.6, JDK1.2, JSDK2.0, Jserv 1.1b3 and JSSI1.1.2.
> 
> Any help is greatly appreciated.  I've been over the instructions many times and
> installed at least three times to make sure I didn't hose anything up.
> -- 
> David Proksch
> Hockytown, USA
> 248.814.7133
> 
> 
> --
> --------------------------------------------------------------
> 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]
> 
> 



--
--------------------------------------------------------------
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