EXT 未定义 !!! 帮帮忙阿~~~
ext吧
全部回复
仅看楼主
level 1
leiwenchao824 楼主
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</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="/resources/css/ext-all.css" />
<script type="text/javascript" src="/ext/ext-base.js" ></script>
<script type="text/javascript" src="/ext/ext-all.js" ></script>
<script type="text/javascript" src="/ext/ext-lang-zh_CN.js" ></script>
</head>
<body>
<script>
Ext.onReady(function(){
var win=new Ext.window({
title:"窗口",
width:500,
height:300,
html:"测试窗口"
});
win.show();
});
</script>
</body>
</html>

2012年03月01日 02点03分 1
level 1
leiwenchao824 楼主
在网上搜索了好多解决方案 ,可是都没搞定。
为什么老是 出现Ext 未定义的错误呢~~~
2012年03月01日 02点03分 2
level 1
leiwenchao824 楼主
狂晕阿~~ 没人阿~~~ 求助阿!!!!
2012年03月01日 02点03分 3
level 1
引js顺序错了没有
2012年03月16日 08点03分 4
1