日期:2014-05-19 浏览次数:20919 次
<servlet>
<servlet-name>springMVC</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:servlet-context.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>springMVC</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<#assign ctx=(rc.getContextPath())!''>
<!--EXTJS样式文件-->
<link rel="stylesheet" type="text/css" href="${ctx}/resources/ext/resources/css/ext-all.css"/>
<!--EXTJS文件-->
<script type="text/javascript" src="${ctx}/resources/ext/bootstrap.js"></script>
<!--EXTJS本地化文件,会将EXTJS中的提示信息等自动转换为简体中文-->
<script type="text/javascript" src="${ctx}/resources/ext/locale/ext-lang-zh_CN.js"></script>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<#include "common/meta.html"/>
<script type="text/javascript" src="${ctx}/resources/app.js"></script>
<title>首页</title>
<script type="text/javascript">
</script>
<meta http-equiv="pragma" content="no-cache" />
</head>
<body>
<button id='myButton'>点击</button>
测试neng
</body>
</html>