My Problem is , I am developing servlets which are needed to be authenticated so i used form based authentication for those servlets..!
I did it like this when ever any body requested for that servlet it will automatically display login.jsp(as usually)..! this jsp is sending username and password to some other servlet(which is does n't need any authentication)..! It will check whether username and password is correct or not..(if it is wrong it will forward request to ErrorPage.jsp)..! if they are correct i want to forward request to actual resource(servlet) requested in the very first attempt..! Here servlet have to remember wt is the actual resource ..! I can it remember it..!
Thanks in advance...! [ October 19, 2008: Message edited by: Bear Bibeault ]
I'm not sure what the problem is. You're describing form-based authentication as it generally works, including the auto-forwarding to the originally requested resource in case of a successful login. Are you having trouble applying this?
Please change your display name or your signature so that both are in agreement. As it is, it looks as if your display name is fictitious, which is against our name policy. [ October 19, 2008: Message edited by: Ulf Dittmer ]