Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个将由 OSGi HTTP 服务提供服务的 Web 应用程序,我使用 WicketServlet 注册它,但我不知道如何提供静态文件(CSS、JS、图像等)。
如何将目录挂载为具有静态内容的资源?
或者我应该以某种方式配置资源定位器?
默认情况下提供顶级目录中的文件。