Basically, if you are using Tomcat 4, you just have to copy your servlets to
CATALINA_HOME$/webapps/ROOT/WEB-INF/classes. I created a symlink under
CATALINA_HOME$ named servlets that is linked to
webapps/ROOT/WEB-INF/classes. So, when I copy my servlets over I just copy
them to /opt/jakarta-tomcat/servlets. ROOT is the default context.
Jon
----- Original Message -----
From: "echaiguer abderrahim" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, September 06, 2001 2:39 AM
Subject: Re: using a central repository for servlets
>
> That's exactly what I am look for.
>
> Abde
>
> At 08:31 PM 9/5/2001 -0300, Joao Carlos wrote:
> > I've searched in many many many places an answer for this before
asking.
> >There are some answers, but it didn't get clear for me.
> >
> > I'm using JServ for a long time, and i'm trying, for a long time
too, to
> >migrate my servers for using Apache+Tomcat.
> > The problem is that i really can't understand well the way tomcat is
> >configured.
> > The main problem, and the reason i'm writing is:
> >
> > I have today in many JServ's, only one repository, which is called
by
> >using the /servlets alias. All servlets that run on the server are keeped
on
> >/var/servlets
> > So, in this way that's very easy to include a servlet, it's only put
it
> >on /var/servlet and call http://my.host/servlets/<name_of_the_servlet>
> >
> > I simply want to migrate to tomcat using this kind of configuration.
> >Many servlets have links to others servlets (written in code) using
> >/servlets/any_servlet, so that's impossible to me to create a context and
> >access the servlets using /context/servlet
> > Is there any way to create a central repository that can be accessed
by
> >/servlets and only this?
> > Is the web-inf directory mandatory for using servlets?
> >
> >Thanks in advance,
> >
> >
> >---
> >Joao Carlos
> >[EMAIL PROTECTED]
> >"Unix IS user friendly. It's just selective about who its friends are"
>
>