I have implemented spring-security in my application, my spring-security.xml has following form-login tag.
Try removing the default-target-url attribute and add the following:
default-target-url