具体要求1 打开新页面2 新页面无地址栏、状态栏等其它无用内容3.新页面固定大小的,不允许拖动和放大
我目前控件的网页DSPTool.jsp;代码如下:<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@page import="com.framwork.page.web.Service"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
String webpath = com.framwork.page.web.Service.getWebStylePath();
%>
<html>
<head>
<base href="<%=basePath%>"> <title>远程管理页面</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link rel="stylesheet" type="text/css"
href="<%=com.framwork.page.web.Service.getWebStylePath()%>/Common/common.css">
<link rel="stylesheet" type="text/css"
href="<%=com.framwork.page.web.Service.getWebLayoutPath()%>/js/checktree/checktree.css" />

<script type="text/javascript"
src="<%=com.framwork.page.web.Service.getWebLayoutPath()%>/js/calendar/_Calendar2.js"></script>
<script type="text/javascript" src="<%=basePath%>js/page/common.js"></script>
<script type="text/javascript"
src="<%=com.framwork.page.web.Service.getWebPath()%>js/jquery/jquery-1.4.1.min.js"></script>
<script type="text/javascript"
src="<%=basePath%>js/jquery/autocomplete/jquery.autocomplete.js"></script>
<script type="text/javascript"
src="<%=basePath%>js/jquery/autocomplete/lib/jquery.ajaxQueue.js"></script>
<script type="text/javascript"
src="<%=basePath%>js/jquery/autocomplete/lib/jquery.bgiframe.min.js"></script>
<script type="text/javascript"
src="<%=basePath%>js/jquery/autocomplete/lib/thickbox-compressed.js"></script>
<link rel="stylesheet" type="text/css"
href="<%=basePath%>js/jquery/autocomplete/jquery.autocomplete.css" />
<link rel="stylesheet" type="text/css"
href="<%=basePath%>js/jquery/autocomplete/lib/thickbox.css" />

<script type="text/javascript"
src="<%=com.framwork.page.web.Service.getWebLayoutPath()%>/js/changebg.js"></script>

<style type="text/css">
.imgDown {
width: 16px;
height: 19px;
margin-left: -5px;
vertical-align: bottom;
cursor: pointer;
}
</style>
<script type="text/javascript">
$(document).ready(function(){
var monitorStr=${fkTable['monitorStr'] };
var canton=${fkTable['cantonStr'] };
var road=[];
var monitor=[];
$.extend({
setRoads:function(){
road=[];
$.each(monitorStr, function(i,n){
if($("#q_canton").val()==''||n[0]==$("#q_canton").val())
road=$.merge(road,n[2]);
});
$("#q_roadName").unautocomplete();
$("#q_roadName").autocomplete(road, {
minChars: 0,
formatItem: function(row, i, total) {
return row[1];
}
} ).result(function(e,row){
if(row!=null){
$("#q_road").val(row[0]);
} else {
$("#q_road").val("");
}
$.setMonitors();
});
},
setMonitors:function(){
monitor=[];
$.each(road, function(i,n){
if($("#q_road").val()==''||n[0]==$("#q_road").val())
monitor=$.merge(monitor,n[2]);
});
$("#q_monitorName").unautocomplete();
$("#q_monitorName").autocomplete(monitor, {
minChars: 0,
mustMatch: false,
matchContains: true,
formatItem: function(row, i, total) {
return row[1];
}
} ).blur(function(e){
$("#q_monitor").val('');
$.each(monitor,function(i,n){
if(n[1]==$("#q_monitorName").val()){
$("#q_monitor").val(n[0]);
return false;
}
});
});
}
});
$.setRoads();
$.setMonitors();
$("#q_cantonName").autocomplete(canton, {
minChars: 0,
formatItem: function(row, i, total) {
return row.cd_name;
}
} ).result(function(e,row){
if(row!=null){
$("#q_canton").val(row.code);
} else {
$("#q_canton").val("");
}
$.setRoads();
$.setMonitors();
});
$("#q_icpip").autocomplete(
"<%=basePath%>CommParam_devarch.action",{
extraParams: {
monid: function(){return $("#q_monitor").val();},
devsortid: 0
},
minChars: 0,
cacheLength:0,
parse: function(data) {
return $.map(data, function(row) {
return {
data: row,
value: row.conicpip,
result: row.conicpip
}
});
},
formatItem: function(row) {
return row.conicpip;
}
} ).blur(function(e){
var ip=$(this).val().split('.');
if(ip.length>3){
  document.all.DSPToolForm.OnConnect(ip[0],ip[1],ip[2],ip[3]);
}
});
//down button click
$(".imgDown").click(function(){
$(this).parent().find("input").focus();
$(this).parent().find("input").dblclick();
});
$("#q_icpip").blur(); 

});
function SetIP()

  var str_IP=document.getElementById("q_icpip").value;
  DSPToolForm.SetIP('str_IP');
  alert('执行');

</script>
</head>
<body style="padding: 0px; margin: 0px;" >
<s:form action="MonitorStatusByIPAction" id="form1" method="post"
theme="simple" >

<tr>
<td width="100%" valign="top" height="*">
<table width="100%" id="dataedit" cellspacing="0"
cellpadding="0" border="0">
<tr>
<td width="*" align="center" valign="top">
<s:hidden name="iidd" id="iidd" value="%{iidd}" />
<OBJECT
    name=DSPToolForm
classid='clsid:734824A8-A713-4BF4-899F-FB6A5AE558E3'
codebase="./dowload/DSPTool.cab#Version=1,0,0,4" id="DSPToolForm"
,   width="870" align='center' height="680" 
type="application/x-oleobject">
</OBJECT>
</tr>
</table>
</s:form>
</body>
</html>