This IFRAME checks wether user session set or not if set the User servlet display the "user control panel" else it display HTML content to get login/pass for signing in
2) Login servlet is doing two works:
(a) getting user/pass to verify from db
The Problem Statement:
If the Login servlet verifies the user then I want to redirect "TWO LINKS" i.e.
(1) /servlet/User (that contains user controlpanel) in IFRAME
(2) request.getHeader("Referer"); (I want to send back the user from where he/she came)