See http://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html
In particular (in your webpage): @Override protected void configureResponse() { super.configureResponse(); getWebRequestCycle().getWebResponse().getHttpServletResponse().setStatus(HttpServletResponse.SC_NOT_FOUND); } Where you can send other codes than SC_NOT_FOUND, obviously. Bas Petr Fejfar-2 wrote: > > Hi all, > > I'm not able to find-out how to respond on HTTP request > (via mounted URL) by setting HTTP result code > to specific value e.g. 402 (Payment required) etc... > > Pls, could somebody push me forward? > > > Thx, pf > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > > -- View this message in context: http://old.nabble.com/How-to-return-specific-HTTP-result-code-on-HTTP-request-tp26653425p26655615.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org