我把这个页面部署到tomcat后用IE打开,它会出现地址栏,放在tomcat服务器外打开它不会出现地址栏,求各位帮忙解决。。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title></title>
<link rel="stylesheet" href="juerytree/dept.css" />
     <script language="JavaScript"> 
function myopen(){ 
 var d="http://www.baidu.com";
 window.open(d,"windowname","width=500,height=400,resizable=no,
           scrollbars=yes,status=yes,toolbar=yes,menubar=yes,location=no");  } 
</script>
<body>
<a href="javascript:myopen();">打开相关页</a>
</body>
</html>tomcat  tomcatjava webjavascriptweb