Re: multiple WEB-INF?

2002-03-20 Thread Grandy Fu

Acutally what I am going to do is set a context for user home directory so 
each user in that home directory can write their own servlet program.

I know I can setup a listen in tomcat for user servlet like following:
 

But I have 2 reason to do what I do.
1. My old server using Jserv set up this way.
2. I want to use apache to process static page and disable tomcant's 8080 
port. However, mod_jk can't neigther handle  "JkMount /~user/servlet ajp" 
nor "JkMount /*/servlet ajp"

Even I have problem in setup http://tomcat:8080/~user/servlet/ which I will 
address in another topic.

Grandy


Quoting Joel Rees <[EMAIL PROTECTED]>:

> Grandy Fu asked:
> 
> > Can I tomcat4 search multiple WEB-INF in one webapp like:
> >
> > /dira/WEB-INF
> >  /dirb/dirb1/WEB-INF
> >  /dirc/WEB-INF
> 
> I think not.
> 
> Is creating multiple contexts in your server.xml what you would rather do?
> 
>  docBase="g:/somedir/dira" >
>
> 
>  docBase="g:/anydir/dirb/dirb1" >
>
>  docBase="g:/whatdir/dirc" >
>
> 
> That way, you can keep your paths straight and avoid confusion. (Does that
> sound a little transcendental, or am I just short on sleep?)
> 
> Joel Rees
> Alps Giken Kansai Systems Develoment
> Suita, Osaka
> 
> 
> 
> 
> --
> To unsubscribe:   
> For additional commands: 
> Troubles with the list: 
> 


--
This mail sent through http://webmail.comp.polyu.edu.hk

--
To unsubscribe:   
For additional commands: 
Troubles with the list: 




Re: multiple WEB-INF?

2002-03-19 Thread Nikola Milutinovic

> Can I tomcat4 search multiple WEB-INF in one webapp like:
> 
> /dira/WEB-INF
>  /dirb/dirb1/WEB-INF
>  /dirc/WEB-INF

No and it shouldn't. One webapp has one deployment descriptor.

Nix.



Re: multiple WEB-INF?

2002-03-19 Thread Joel Rees

Grandy Fu asked:

> Can I tomcat4 search multiple WEB-INF in one webapp like:
>
> /dira/WEB-INF
>  /dirb/dirb1/WEB-INF
>  /dirc/WEB-INF

I think not.

Is creating multiple contexts in your server.xml what you would rather do?

   
   

   
   
   
   

That way, you can keep your paths straight and avoid confusion. (Does that
sound a little transcendental, or am I just short on sleep?)

Joel Rees
Alps Giken Kansai Systems Develoment
Suita, Osaka




--
To unsubscribe:   
For additional commands: 
Troubles with the list: