Almost, since the mappings are for urls, we'd need to change the default
servlet mapping "/" to point to file servlet, and have every request go
through it then get passed on.
Robert
Charles Oliver Nutter wrote:
Robert Egglestone wrote:
This might do it:
ServletContext.getNamedDispatcher("rails-servlet").forward(request,
response)
Yeah, that's not bad...with that, I believe we could actually just have
a single fileservlet mapping for public/*, yeah? Anything not in there
would just go to Rails.
- Charlie
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel