The original constructor was public class AppLogin extends WebPage implements IMarkupCacheKeyProvider, IMarkupResourceStreamProvider { public AppLogin(PageParameters params) { setStatelessHint(true); startAsyncProcss(params); * throw new RestartResponseException(new PageProvider(getClass(), params), RenderPageRequestHandler.RedirectPolicy.NEVER_REDIRECT); * }
The additional code, in bold, caused stackoverflow exception. This page would be invoked by JavaScript call. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Unnecessary-302-redirects-in-Wicket-1-5-tp3921623p4354166.html Sent from the Users forum 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