tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Baer <jonb...@digitalanywhere.com>
Subject Re: jsp document root
Date Tue, 16 Jan 2001 14:52:51 GMT
How is it possible to create something without a context @ the *very* top
root level so you can say:

/

maps to things in directory /myapp

Thanks.

- Jon

"Simon Oldeboershuis, outermedia" wrote:

> Regis Muller schrieb:
> >
> > Sorry to ask such a trivial question to all of you but how can I put my
> > .jsp files outside of the ROOT Directory of tomcat in e.g. in
> > apache\htdocs ?
> >
> you have to configure the position of the directory in the config file:
>         tomcat/conf/server.xml
> there should be some example.
>
>         <Context path="/myapp"
>                  docBase="apache\htdocs\myappdocbase"
>                  crossContext="false"
>                  debug="0"
>                  reloadable="true" >
>         </Context>
>
> The docbase should probably given as an absolute path.
>
> simon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, email: tomcat-user-help@jakarta.apache.org


Mime
View raw message