Estoy aprendiendo un poco de wicket y consegui el libro Wicket in action.
Hice un proyecto "estandard" para probar cosas mediante el asistente de netbeans y me genera como es correcto un paquete con las paginas html y sus corespondientes .java (ejemplo index.html e index.java)
El proyecto "base" tiene algunos ejemplos que funcionan bien y se ven cuando voy a 127.0.0.1:8080/wicket/
El problema es, si agrego en el paquete otra pagina por ejemplo prueba.html y prueba.java luego cuando voy a 127.0.0.1:8080/wicket/prueba.html da un 404.
Alguna idea?
Mi web.xml es
Código XML:
Ver original<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
<filter>
<filter-name>WicketApplication</filter-name>
<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
<init-param>
<param-name>applicationClassName</param-name>
<param-value>com.myapp.wicket.Application</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>WicketApplication</filter-name>
<url-pattern>/wicket/*</url-pattern>
</filter-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file/>
</welcome-file-list>
</web-app>