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: /var/www/SITE/htdocs/style ...
while the following mappings with regexp seem to work fine ...
<cache-mapping url-regexp="/(front|food|style)" expires="2m"/>
<path-mapping url-regexp="/pictures" real-path="/var/www/
www.quiddling.net/PICTURES"/>
On Feb 14, 2008, at 7:42 PM, Knut Forkalsrud wrote:
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
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest