tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Arnold <arn...@stage1.com>
Subject mapping servlets
Date Fri, 18 May 2001 02:06:25 GMT
I just upgraded from jserv to Tomcat. I used to have my servlets under
/bin instead of /servlet
with:
ApJServMount /bin /root

I still want to use these servlets under Tomcat. But I am struggling a
bit to configure it. One method I tried was creating a context called
bin under webapps. Then in the web.xml file I put in:
<web-app>
<servlet-mapping>
        <servlet-name>
            invoker
        </servlet-name>
        <url-pattern>
            *
        </url-pattern>
    </servlet-mapping>

</web-app>


but this didn't work.

I tried also putting in :
ApJServMount /bin /root in the .conf file and then modifying the default
web.xml file to use invoker for /bin/*

I know this is trivial!

Anyhelp would be appreciated.

Tim Arnold


Mime
View raw message