Okay, since I didn't get an answer I'll assume I posed the question
poorly, so I will try again.

 I have two servlet zones, /trouble and /MTLserv if I include the
following in my jserv.conf file:

#####################################
ApjServMount /trouble /trouble
ApjServMount /MTLserv /MTLserv
ApJServAction .jhtml /trouble/org.apache.jservssi.JServSSI
ApJServAction .jhtml /MTLserv/org.apache.jservssi.JServSSI
#####################################
 
 and the following in jserv.properties:

###########################################
zones=trouble,MTLserv
trouble.properties=/homes/trouble/public_html/servlets/trouble.properties
MTLserv.properties=/usr/local/jserv/MTLserv.properties
###########################################

repositories for trouble are /homes/trouble/public_html/servlets
and for MTLserv /MTLadmin

.jhtml under /~trouble NO LONGER WORK, but they do under /MTLadmin

 I get the following:
 java.lang.ClassNotFoundException: can't find file named HelloWorldServlet

 this was all working before when I only had *ONE* servlet zone. How do
people with multiple servlet zones handle the ApjServAction .jhtml ??

 Any info would be appreciated..

 -Miriam

On Sun, 2 May 1999, Miriam wrote:

> 
> 
>   Hi, I am running apache 1.3.6, and JServ 1.03 and i've enabled
> JservSSI's, everything was working well when I had one servlet zone..
> 
>  What I want to do is (a) enable a group of users to run servlets, (b)
> enable them to have .jhtml files, so for example,
> 
>  ../username is the servlet zone and
>  ../~username is not. 
> 
>  The problem is that is that .jhtml files are not mapped to the correct
> zone.. so if I have in my directory a file, say index.jhtml with the
> following:
> 
> <servlet code="HelloWorld.class">
>  HelloWorld Class NOT FOUND!
> </servlet>
> 
> and HelloWorld.class in the same directory, the servlet is not executed.
> Is there a way I can say map .jhtml files to their respective dirs
> without having to share one zone (I don't want to have naming
> constraints on filenames so that multiple users can have the same
> servlet names without any problems)?
> 
>  -Miriam
> 
> 
> ----------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> READ THE FAQ!!!!     <http://java.apache.org/faq/>
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]
> 
> 



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

Reply via email to