2

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?

Community
  • 1
  • 1
Jaime Soriano
  • 7,309
  • 2
  • 33
  • 45

1 Answers1

2

Files in top-level directory are served by default.

Jaime Soriano
  • 7,309
  • 2
  • 33
  • 45