WEB-INF.web.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <web-app xmlns="https://jakarta.ee/xml/ns/jakartaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://jakarta.ee/xml/ns/jakartaee https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd" version="6.0"> <display-name>Library Demo</display-name> <filter> <filter-name>Wicket</filter-name> <filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class> <init-param> <param-name>applicationFactoryClassName</param-name> <param-value>org.wicketstuff.osgi.OsgiWebApplicationFactory</param-value> </init-param> <init-param> <param-name>wicket.osgi.application.name</param-name> <param-value>library</param-value> </init-param> <!--init-param> <param-name>applicationClassName</param-name> <param-value>org.wicketstuff.osgi.test.library.web.LibraryApplication</param-value> </init-param--> </filter> <filter-mapping> <filter-name>Wicket</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <welcome-file-list> <welcome-file>index.html</welcome-file> </welcome-file-list> </web-app>