See the <Context> tag in server.xml, esp the "docBase" attribute.
- r
On Fri, 24 Aug 2001 17:53:26 +0200 [EMAIL PROTECTED] wrote:
> Hello!
>
> I am trying to set up Tomcat to work in the environment where we have been
> developing another application. In this environment we do not have a
> webapps directory.
>
> The output path for JBuilder is C:\sandbox\development, and this is also
> were the classpath points to when we test our builds.
>
> When we started developing servlets etc with JBuilder 4 we also used the
> docbase c:\sandbox\development
>
> So it looks something like this:
>
> C:\Sandbox\development\se\masystem\...
> C:\Sandbox\development\web-inf\web.xml etc
> C:\Sandbox\development\jsp
> C:\Sandbox\development\images
> etc..
>
> As you see, no webapps directory. I do not want to change this structure
> because many things depend on this. With JBuilder 4, and its integrated
> tomcat 3.1 this works. I can start tomcat and get it to use a classpath
> that was in the same level as the docbase. That way I do not have to copy
> classes from C:\Sandbox\development to web-inf/classes.
>
> But now I want to be able to use tomcat independently this way. Is it
> possible to configure this? I guess I can do something in server.xml that I
> have not figured out yet?
>
> Thanks,
> Claes
>
> ----------------------------------------------------------------------
> Claes Holmerson
> PipeChain AB
> Porfyrvägen 14 +46 (0)46 32 52 42 office phone
> SE-224 78 LUND +46 (0)709 89 52 42 mobile phone
> Sweden +46 (0)46 15 10 74 office fax
>
> http://www.pipechain.com/
> ------------------------------------------------------------------------