Hi Naoki,

Thanks for your great advice. It's worked. Actually, the reason why I put it
in the constructor is because
when I logout from the app, spring-security redirect the page to LogoutPage,
and the "onInit()" method of LogoutPage is not even executed. I have a small
logic that need the AppConfig instance to get some property to be used
before showing the index page. Any idea why is the "onInit()" is not
executed?

Thanks again for your help.

Regards,
Kristian.

--
View this message in context: 
http://click.1134972.n2.nabble.com/Resource-not-working-when-using-Spring-3-x-AnnotationConfigWebApplicationContext-tp7578133p7578135.html
Sent from the click-user mailing list archive at Nabble.com.

Reply via email to