用ext做一个选项卡的jsp页面,但是运行后什么也不显示,也不报错,不知到为什么,谁给看看哪错了!
<%@pagelanguage="java"contentType="text/html;charset=UTF-8"pageEncoding="UTF-8"%><!DO...
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Rwxx</title>
<%@ include file="/common/meta.jsp" %>
<link href="<c:url value="/styles/admin.css"/>" rel=stylesheet type="text/css" >
<link href="<c:url value="/styles/extremecomponents.css"/>" rel=stylesheet type="text/css" >
<link href="<c:url value="/ext/resources/css/ext-all.css"/>" rel="stylesheet" type="text/css">
<script src="<c:url value="/scripts/admin.js"/>" type="text/javascript"></script>
<script src="<c:url value="/ext/adapter/ext/ext-base.js"/>" type="text/javascript"></script>
<script src="<c:url value="/ext/source/adapter/ext-all.js"/>" type="text/javascript"></script>
<script src="<c:url value="/ext/source/locale/ext-lang-zh_CN.js"/>" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
function tabpanel(){
var tab = new Ext.TabPanel({
activeTab:0, //设置默认选择的选项卡
renderTo:'tab',
width:200,
height:150,
items:[
{
title:"第一个选项",
html:'<iframe src="<c:url value="/gdgl/gdrw.do" />" frameborder="0" width="370" height="350" id="mainpage0"></iframe>'
},
{
title:"第二个选项",
html:"第一个的内容"
}
]
});
win.show();
}
</script>
</head>
<body background="../images/admin/1.jpg">
<div id="titleDiv" class="pageTitle">具体任务安排 </div>
<div id="tab"></div>
</body>
</html> 展开
pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Rwxx</title>
<%@ include file="/common/meta.jsp" %>
<link href="<c:url value="/styles/admin.css"/>" rel=stylesheet type="text/css" >
<link href="<c:url value="/styles/extremecomponents.css"/>" rel=stylesheet type="text/css" >
<link href="<c:url value="/ext/resources/css/ext-all.css"/>" rel="stylesheet" type="text/css">
<script src="<c:url value="/scripts/admin.js"/>" type="text/javascript"></script>
<script src="<c:url value="/ext/adapter/ext/ext-base.js"/>" type="text/javascript"></script>
<script src="<c:url value="/ext/source/adapter/ext-all.js"/>" type="text/javascript"></script>
<script src="<c:url value="/ext/source/locale/ext-lang-zh_CN.js"/>" type="text/javascript"></script>
<script type="text/javascript" language="javascript">
function tabpanel(){
var tab = new Ext.TabPanel({
activeTab:0, //设置默认选择的选项卡
renderTo:'tab',
width:200,
height:150,
items:[
{
title:"第一个选项",
html:'<iframe src="<c:url value="/gdgl/gdrw.do" />" frameborder="0" width="370" height="350" id="mainpage0"></iframe>'
},
{
title:"第二个选项",
html:"第一个的内容"
}
]
});
win.show();
}
</script>
</head>
<body background="../images/admin/1.jpg">
<div id="titleDiv" class="pageTitle">具体任务安排 </div>
<div id="tab"></div>
</body>
</html> 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询