tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Cartwright <jcartwri...@ngdc.noaa.gov>
Subject unable to access servlets through apache
Date Fri, 19 Jan 2001 19:14:15 GMT
Hello All,

I'm trying to sort out a configuration issue with tomcat and apache. 
Running tomcat3.2.1 and apache1.3.14 on RH linux.

Using the examples context:
I can reach the SnoopServlet at 
http://localhost/examples/servlet/snoop and
http://localhost:8080/examples/snoop but not 
http://localhost/examples/snoop

This is despite having the section in examples/WEB-INF/web.xml:
    <servlet>
        <servlet-name>
            snoop
        </servlet-name>
        <servlet-class>
            SnoopServlet
        </servlet-class>
    </servlet>    
    <servlet-mapping>
        <servlet-name>
            snoop
        </servlet-name>
        <url-pattern>
            /snoop
        </url-pattern>
    </servlet-mapping>


I don't understand why when apache sees /examples/snoop it doesn't map
to the servlet.  Can someone explain this to me an suggest a solution?

Thanks!


-- john

===============================================================================
John Cartwright
Professional Research Assistant / Associate Scientist
CIRES, SEG/NGDC/NOAA
(303) 497-6284
jcartwright@ngdc.noaa.gov
===============================================================================

Mime
View raw message