hi all,
I need to hide the address bar and status bar of a jsp page , "demo.jsp"
my code is
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Welcome</title>
</head>
<frameset cols="10%,90%">
<frame src="actions.jsp" name="page1"></frame>
<frame src="default.jsp" name="page2"></frame>
</frameset>
</html>
all i need to do is display the same page without address bar and status bar.
i tried doing
window.open("login.jsp", "eTIMS", "toolbar=0,location=0, directories=0, status=0, menubar=0,scrollbars=1,resizable=0,width=1014,height=714,left=0,top=0") inside the same page. But it keeps iterating. Also the previous page is still there. I also don't know how to close the previous page. any solutions?
more info:
tis is my jsp page where i check the username and password by accessing the database. i verify this using <% if (EmpBean.login()==0){response.sendRedirect("welcome.jsp"); } else{ response.sendRedirect("login.jsp?ch=2");} %> if correct then it goes to welcome.jsp.
i dont want the users of welcome.jsp to go back to my login page. i thought of keeping it as abstract as possible. please help me wit tis.