Hmmm...
I removed the RackFilter from my web.xml file, so it is _not_ being
used. I see that the Rack::Adapter::Rails module is in the
jruby-rack-0.9.1.jar file.
I further see how the RackFilter sets the "rack.dynamic.requests.only"
environment hash key, so it makes sense that the Rack handler and the
RackFilter are mutually exclusive.
So I'm wondering why the Rack handler doesn't seem to be getting used.
I see this line in the initialize of the Rack::Adapter::Rails class:
@public = options[:public] || ::File.join(@root, "public")
My guess is that the static files are being looked for under /public,
instead of under / which is where warbler has put them in the WAR file.
So:
How do I pass the :public option to the Rack handler?
Or
How do I force the static files to be placed in /public by Warbler so
that the lookup in /public will work?
Thanks,
Wes
Nick Sieger wrote:
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email