Using ResourceServlet

This is the servlet mounted at /main/res/. It serves up resources from within modules. Most of the heavy lifting is done by ModuleResourceLocator, since we can't actually get to anything useful from here in bootstrap

I'm working on a module that adds a servlet. The page it serves is going to include some static resources like scripts and images. The ResourceServlet looks like it would be perfect for serving the static sections. How do i use it? Is there some specific path inside my module that i need to put the static files?