Yea, I saw that.. unfortunately, the "/controller/action" is actually determined dynamically. It's actually not the static string "controller" but a controller name that is based on the available action controllers. The job of the UrlMapper filter is to parse this URL and then dispatch the request to the proper controller with the proper action method to handle the request.
Since it's dynamic, I am unable to create the servlet mapping patterns. -Chris On Oct 30, 2007, at 12:20 PM, Sam wrote: >> [ ... ] >> >> Here's the thing. Grails' web.xml has filter mappings for the url- >> pattern of "/*". One of the filters, the UrlMapper, will actually >> process the URL and then dispatch the request to the proper >> controller and action to process the request. >> >> However, there is no servlet mapping that is mapped to pass all "/" >> requests to resin for processing. Thus, mod_caucho simply assumes >> that requests should not be passed to resin for processing. >> >> To get this working, I actually added a "SetHandler caucho-request" >> to my .htaccess file under the webapp directory. Now, the requests >> are passed over to resin for processing. > > You can also do this using the plugin_match servlet in your web.xml, > something like: > > <servlet-mapping url-pattern='/controller/*' servlet- > name='plugin_match'/> > > Documentation is here: > > http://caucho.com/resin-3.1/doc/plugin-dispatch.xtp > under "special servlet-mappings" > > -- Sam > > > > _______________________________________________ > resin-interest mailing list > email@example.com > http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list firstname.lastname@example.org http://maillist.caucho.com/mailman/listinfo/resin-interest