tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roehl, Dan" <Dan.Ro...@austinenergy.com>
Subject Re: servlet mappings
Date Wed, 03 Sep 2003 19:21:19 GMT
It used to be that servlet mapping was straight-forward and now it seems to
be obfuscated. For example I want the url
<myhostip>:<myport>/<webappname>/Form 

Here is my web.xml file from my webapp\aeform\WEB-INF

<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">

<web-app>

    <display-name>aeform</display-name>
    <description>
      AE form controller.
    </description>
	
    <servlet>
        <servlet-name>AeFormServlet</servlet-name>
        <servlet-class>formController.AeFormServlet</servlet-class>
    </servlet> 	

   <servlet-mapping>
        <servlet-name>invoker</servlet-name>
        <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>

  !!!! This used to work and now it doesn't; Why???? !!!!!
   
<!-- <servlet-mapping>
        <servlet-name>AeFormServlet</servlet-name>
        <url-pattern>*/Form</url-pattern>
    </servlet-mapping>
    -->
	
</web-app>

Would appreciate any pointers you could give. Thanks

Mime
View raw message