开发者

Static content on Wicket application served from OSGi HTTP Service

开发者 https://www.devze.com 2022-12-24 16:48 出处:网络
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).

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开发者_如何学JAVA a directory as a resource with the static content?

Or should I configure the resource locator in some way?


Files in top-level directory are served by default.

0

精彩评论

暂无评论...
验证码 换一张
取 消