You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/10/10 19:49:33 UTC

DO NOT REPLY [Bug 4069] - Servlet invocation

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4069>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4069

Servlet invocation

remm@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME



------- Additional Comments From remm@apache.org  2001-10-10 10:49 -------
It looks to be working for me. Did you do something else to get that problem ?

Here's what I did.
- Create some webapp folder in my vhost
- Copy the hello world servlet + snoop servlet in the class repository of the 
root webapp
- Define some conflicting mappings:
      <Host name="c538761-b" debug="0" appBase="webapps2" unpackWARs="true">
          <Context path="/HelloWorldExample" docBase="tomcat-docs" debug="0" 
reloadable="true"/>
          <Context path="/servlet/HelloWorldExample" docBase="tomcat-docs" 
debug="0" reloadable="true"/>
      </Host>
- Then try a few conflicting URLs

"/servlet/HelloWorldExample" goes to the second context.
"/HelloWorldExample" goes to the first context.
"/servlet/SnoopServlet" is served by the root context, and displays the results 
of the snoop servlet.

I can't see any differences between what I did and what you describe.