Re: How to mount 404 page with Wicket and Servlet 3.0?

2018-02-13 Thread Kamil Paśko
Thank you Martin! For anyone that could have this problem: solution with Wicket-SpringBoot and annotations (almost identical as Martin suggested) is as follows: public class MyErrorPageRegistrar implements ErrorPageRegistrar {     @Override     public void registerErrorPages(final

Re: How to mount 404 page with Wicket and Servlet 3.0?

2018-02-13 Thread Martin Grigorov
Hi, In a plain Spring Boot application (without Wicket-SpringBoot) you can do it with ErrorPageRegistrar: import org.springframework.boot.web.servlet.ErrorPage; import org.springframework.boot.web.servlet.ErrorPageRegistrar; import org.springframework.boot.web.servlet.ErrorPageRegistry; import