You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Matthew Duftler <du...@us.ibm.com> on 2001/02/08 19:18:46 UTC
Leading slashes in web.xml...
We've run into a few problems related to the <url-pattern> of
<servlet-mapping>s not having a leading '/'. Some servlet engines seem to
prepend it if it's not there, but some don't. We've flipped through the
samples in the J2EE spec, and they all have the leading slash. Does anybody
object to my committing the following changes to the web.xml file?
37c33
< <url-pattern>servlet/rpcrouter</url-pattern>
---
> <url-pattern>/servlet/rpcrouter</url-pattern>
42c38
< <url-pattern>servlet/messagerouter</url-pattern>
---
> <url-pattern>/servlet/messagerouter</url-pattern>
Thanks,
-Matt
Re: Leading slashes in web.xml...
Posted by George I Matkovits <ma...@uswest.net>.
+1 George, ASAP please.
Matthew Duftler wrote:
> We've run into a few problems related to the <url-pattern> of
> <servlet-mapping>s not having a leading '/'. Some servlet engines seem to
> prepend it if it's not there, but some don't. We've flipped through the
> samples in the J2EE spec, and they all have the leading slash. Does anybody
> object to my committing the following changes to the web.xml file?
>
> 37c33
> < <url-pattern>servlet/rpcrouter</url-pattern>
> ---
> > <url-pattern>/servlet/rpcrouter</url-pattern>
> 42c38
> < <url-pattern>servlet/messagerouter</url-pattern>
> ---
> > <url-pattern>/servlet/messagerouter</url-pattern>
>
> Thanks,
> -Matt