Besides telling that you want to use the SecuriltyDelegatingFilterProxy, you also have to map it to URLs in the web.xml file Usually to all the URLs like you did with the DispatcherServlet in the servlet-mapping.
description The server encountered an internal error () that prevented it from fulfilling this request.
java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.33 logs.
Ok, fine.. Yes, then you don't need to define login page in security context file.. In web.xml, you are mapping /admin1/* to spring security filter, so when you request for /admin, this filter is not applied..
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop