it's GET ...
these seem to work ...
servlet-mapping url-regexp=/food/ servlet-name=Categories/
servlet-mapping url-regexp=/style/ servlet-name=Categories/
but this does not ...
servlet-mapping url-regexp=/(food|style)/ servlet-name=Categories/
and the log is has, File does not exist:
scott
is there anything in the resin config that would enable to disable
the url-regexp for servlet mappings ... ??
also ... how does the url-regexp affect the request attributes such
as request URI ...
On Feb 14, 2008, at 6:05 PM, Scott Ferguson wrote:
On Feb 14, 2008, at 2:56 PM,
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
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-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/
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)/.*