I am calling a
servlet from the Login Page . It does some check . If the check fails , I want a new window to open displaying the Error else if the check passes , the next page is loaded in the same window as the Login . In this case , no new window has to be opened .
Can someone tell me how we can open a new window from a servlet ?