需要的资源
- ExtJS4.2
- eclipse
开发环境搭建
在项目中国需要引用的文件:
测试页面代码:
<%@ page language="java" pageEncoding="utf-8"%>
<!DOCTYPE HTML
PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
<head>
<title>ExtJs
演示</title>
<link rel="stylesheet" type="text/css"
href="./extjs/resources/css/ext-all.css" />
<link rel="stylesheet"
type="text/css" href="./theme/theme.css"
/>
</head>
<body>
<script type="text/javascript"
src="./extjs/bootstrap.js"></script>
<script
type="text/javascript"
src="./extjs/locale/ext-lang-zh_CN.js"></script>
<script
type="text/javascript">
Ext.onReady(function(){
Ext.Msg.alert(‘Info‘,
‘This is a
test!‘);
});
</script>
</body>
</html>
测试结果:
ExtJS4.x 开发环境搭建,码迷,mamicode.com
时间: 2024-09-30 16:49:23