Hi all,

I have defined a very simple Web application and stored it under
webapps/example. I have also defined a Context file for it named example.xml
and placed it under conf/Catalina/localhost. The content of example.xml file
is:


<Context path="/example1" docBase="example"
         debug="1">

  <Logger className="org.apache.catalina.logger.FileLogger"
             prefix="localhost_example_log." suffix=".txt"
          timestamp="true"/>

</Context>


Now I assume that this Web app must only be accessible via
http://localhost:8080/example1. However it is accessible via both
http://localhost:8080/example1 and http://localhost:8080/example. Any ideas
why is this happening?

The deployment server is *Tomcat 5.0.30*. The whole server directory can be
downloaded from: http://public.me.com/behrangsa

Thanks in advance,
Behrang

Reply via email to