maybe you need to change your urls to /myapp/login/ ? -igor
On Sun, Nov 6, 2011 at 11:18 PM, Linh <[email protected]> wrote: > Hi All, > > I got a problem with mounting the LoginPage to be used in Form base > authentication. > > My web.xml: > <login-config> > <auth-method>FORM</auth-method> > <form-login-config> > <form-login-page>/login</form-login-page> > <form-error-page>/login</form-error-page> > </form-login-config> > </login-config> > > My WicketApplication.init() method: > mountBookmarkablePage("/login", LoginPage.class); > > However, when I access a secure resource, I got this error (instead of my > login page): HTTP Status 404 - /myapp/login/ > > Thanks for your help. > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Mount-LoginPage-for-Form-base-authentication-tp3997703p3997703.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
