Description
Issue a request to http://host:port/contextpath/?something
Wicket will log an error message like:
ERROR - RequestCycle - Unable to execute request. No suitable RequestHandler found. URL=?something
I think the reason is in HomePageMapper which maps to the configured home page only if there are no query parameters.
HomePageMapper.java:
public IRequestHandler mapRequest(Request request) { if (request.getUrl().getSegments().size() == 0 && request.getUrl().getQueryParameters().size() == 0) { return new RenderPageRequestHandler(new PageProvider(getContext().getHomePageClass())); } else { return null; } }