【发布时间】:2009-03-17 09:47:48
【问题描述】:
我需要隐藏一个jsp页面的地址栏和状态栏,“demo.jsp”
我的代码是
<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.
我试过了
window.open("login.jsp", "eTIMS", "toolbar=0,location=0, directory=0, status=0, menubar=0,scrollbars=1,resizable=0,width=1014, height=714,left=0,top=0") 在同一页面内。但它一直在迭代。上一页也还在。我也不知道如何关闭上一页。 有什么解决办法吗?
更多信息:
tis 是我的 jsp 页面,我通过访问数据库来检查用户名和密码。我使用 如果正确则转到welcome.jsp。
我不希望welcome.jsp 的用户返回我的登录页面。我想保持它尽可能抽象。请帮我解决这个问题。
【问题讨论】:
-
我会帮助您解释为什么需要这样做,因为可能有其他可用的方法。
-
tis 是我的 jsp 页面,我通过访问数据库来检查用户名和密码。我使用 如果正确则转到welcome.jsp。
-
我不希望welcome.jsp 的用户返回我的登录页面。我想保持它尽可能抽象。请帮我解决这个问题。
标签: jsp