This post applies to Wicket 6.
Add the following line to the init()-method of your Application class:
getResourceSettings().getResourceFinders() .add(new WebApplicationPath(getServletContext(), "/"));
The result is that you can put your HTML files directly in the web archive path(in a Maven project this would be src/main/webapp) instead of into the classpath. If you use a Path instead of a WebApplicationPath, you could also put your files somewhere on the filesystem of the server. Also, you can implement your own IResourceFinder.