You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Won Hong <wh...@Firekey.com> on 2000/11/28 22:36:46 UTC

web.xml

Hi, I have Apache(1.3.14) and Tomcat(3.2b7) with mod_jk on WINNT running an
application under webapps directory in Tomcat. 

I've set up servlet mappings in the web.xml file for my app in
webapps/application/WEB-INF directory which currently works. 

I want to move the application to a shared drive on the network for a
variety of reasons. 

When I move the application to a shared drive, I can no longer execute my
servlet as it is defined in web.xml.

I have modified server.xml context to the new shared drive but that doesn't
seem to be enough. 

Can anyone point me to what I'm missing?

Below is my web.xml file

<web-app>
  <display-name>Login Test</display-name>
    <servlet>
        <servlet-name>
            logintest
        </servlet-name>
        <servlet-class>
            com.app.gui.LoginServlet
        </servlet-class>
    </servlet>

    <servlet-mapping>
        <servlet-name>
            logintest
        </servlet-name>
        <url-pattern>
            /servlet/*
        </url-pattern>
    </servlet-mapping>
    
</web-app>

Best Regards,

Won Hong
Product Manager
Firekey, Inc.
443-572-5564
whong@firekey.com