This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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)