tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bin.Hu...@ReadRite.com
Subject how to add context element to conf/server.xml file
Date Tue, 23 Oct 2001 16:17:14 GMT


I am new to tomcat.  Here is my question:


> I just installed Tomcat 4.0 and like to place all my jsp/servlet files to
> D drive instead 
> of catalina_home. so I am trying to add a context element as follow:
> 
>    <Context path="D:/exp" docBase="D:/exp" debug="0"
>                  reloadable="true">
>                ...........
>   </Context>
> saved, restart the tomcat
> 
> then I call "http://localhost:8080/exp" and it replys:
> 
> The requested resource (/exp) is not available. But if I call 
> http://localhost:8080/manager/list, it show following:
> 
> OK - Listed applications for virtual host localhost
> /examples:running:0
> /webdav:running:0
> D:/exp:running:0
> /tomcat-docs:running:0
> /manager:running:0
> /:running:0
> 
> it looks D:/exp is running.
> 
> What might be the problem?  Thank you very much for help.

Mime
View raw message