In my web application when I tries to logout it goes to j_spring_security_logout instead of the given page. In my spring-security.xml page i have a
j_spring_security_logout
spring-security.xml
A better approach to use default logout url would be