views:

154

answers:

1

I'm developing a web application that is going to be served from an OSGi HTTP service, I register it using a WicketServlet, and I don't know how to serve static files (CSS, JS, images and so).

How could I mount a directory as a resource with the static content?

Or should I configure the resource locator in some way?

+1  A: 

Files in top-level directory are served by default.

Jaime Soriano