your http request, is it "GET /food/", or is there more in the path, such as
"GET /food/dinner.html". If so, you should have wildcards in the
mapping, for
example:
<servlet-mapping url-pattern="/food/*" servlet-name="Categories"/>
<servlet-mapping url-regexp="/(food|travel|wine)/.*"
servlet-name="Categories"/>
-Knut
Arthur Naylor wrote:
<servlet-mapping url-regexp="/(food|travel|wine)/"
servlet-name="Categories"/>
does not work either
On Feb 14, 2008, at 6:55 PM, Knut Forkalsrud wrote:
Arthur Naylor wrote:
if i use the url-pattern such as in the following ...
<servlet-mapping url-pattern="/food/" servlet-name="Categories"/>
<servlet-mapping url-pattern="/travel/" servlet-name="Categories"/>
<servlet-mapping url-pattern="/wine/" servlet-name="Categories"/>
things work fine ... the servlet is called and the page is delivered
...
if i try using the regexp as it in the following ... the servlet is
not called ...
<servlet-mapping url-regexp="/(food | travel | wine)/"
servlet-name="Categories"/>
Spaces? Maybe a URL like /food%20/ or /%20travel%20/ will work. Or
url-regexp="/(food|travel|wine)/"
-Knut
_______________________________________________
resin-interest mailing list
[email protected] <mailto:[email protected]>
http://maillist.caucho.com/mailman/listinfo/resin-interest
------------------------------------------------------------------------
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest