problem in j_security_check authentication
I have implemented form based authentication in many sites. But I am facing problems in few sites.
1. When I pass all credentials like user name and password then after checking these user name and password the page is redirecting to a web page having form of j_security_check. Only after the correct username and password this is redirecting. I don't know how the next step will be for authentication.
2. Second problem which I am facing is that of the submit button having onclick function. I am unable to do authentication in webpages having onclick function in submit or login button.
Please help me. Its urgent.