You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Perez, Bill" <bi...@TransCore.com> on 2001/03/16 04:17:56 UTC
extension mapping with tomcat
i can't seem to get extension mapping to work in tomcat within VAJ 3.5.
here is my web.xml:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
<web-app>
<servlet>
<servlet-name>
dispatcher
</servlet-name>
<servlet-class>
webwork.servlets.Dispatcher
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>
dispatcher
</servlet-name>
<url-pattern>
*.action
</url-pattern>
</servlet-mapping>
</web-app>
is this not supported in tomcat or something????
- billy
Re: extension mapping with tomcat
Posted by "Craig R. McClanahan" <cr...@apache.org>.
On Thu, 15 Mar 2001, Perez, Bill wrote:
> i can't seem to get extension mapping to work in tomcat within VAJ 3.5.
>
> here is my web.xml:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE web-app
> PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
> "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
>
> <web-app>
> <servlet>
> <servlet-name>
> dispatcher
> </servlet-name>
> <servlet-class>
> webwork.servlets.Dispatcher
> </servlet-class>
> </servlet>
>
> <servlet-mapping>
> <servlet-name>
> dispatcher
> </servlet-name>
> <url-pattern>
> *.action
> </url-pattern>
> </servlet-mapping>
>
> </web-app>
>
Tomcat supports extension mappings quite well -- the example application
uses extension mapping with the "*.do" extension. I'm not familiar enough
with the VAJ integration, though, to know what might be going on here.
> is this not supported in tomcat or something????
>
> - billy
>
Craig