You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Press, Michael" <Mi...@Artesia.com> on 2002/02/13 15:09:19 UTC

Help with url-pattern in web.xml

Where can I find the definition for valid entries in the url-pattern element
of the servlet-mapping in web.xml?  I can't find much in the tomcat (4.0.1)
documentation.
 
Specificallly, I want to enter these mappings:
 
    *.action --> (servlet A)
    creator/*.action -> (servlet B)
    librarian/*.action -> (servlet C)
 
The first pattern works fine.  When I use
<url-pattern>creator/*.action</url-pattern> or even
<url-pattern>creator*.action</url-pattern>, I get the error "Invalid
<url-pattern> creator*.action in servlet mapping"
 
Help with this specific problem is appreciated, but I'm also interested in
finding a reference for web.xml - a document or DTD that defines/describes
the possible URL patterns.
 
Thanks

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Help with url-pattern in web.xml

Posted by "Christopher K. St. John" <ck...@distributopia.com>.
"Press, Michael" wrote:
> 
> Where can I find the definition for valid entries in the url-pattern
> element of the servlet-mapping in web.xml? ...I'm also interested in
> finding a reference for web.xml - a document or DTD that defines/describes
> the possible URL patterns.
>

 http://java.sun.com/products/servlet/download.html

 SPECIFICATIONS, 2.3 - Final Release


-- 
Christopher St. John cks@distributopia.com
DistribuTopia http://www.distributopia.com

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>