1,common.jsp 代码如下:
<%@ taglib uri="/WEB-INF/resource/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/resource/struts-bean.tld" prefix="bean"%>
<%@ taglib uri="/WEB-INF/resource/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/resource/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/resource/struts-nested.tld" prefix="nested"%>
<%@ taglib uri="/WEB-INF/resource/c.tld" prefix="c"%>
<%@ taglib uri="/WEB-INF/resource/app.tld" prefix="app"%>
<%@ taglib uri="/WEB-INF/resource/fmt.tld" prefix="fmt"%>
<%
response.setHeader("Cache-Control", "no-store"); //HTTP 1.1
response.setHeader("Pragma", "no-cache"); //HTTP 1.0
response.setDateHeader("Expires", 0);
%>
<link href="../css/css.css" href="css/css.css" rel="stylesheet" type="text/css">
<link href="../css/table.css" href="css/table.css" rel="stylesheet" type="text/css">
<script language="JavaScript"
src="<%=request.getContextPath()%><!--
/js/common/common.js">
// --></script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
2,view.jsp 代码如下:
<%@ page pageEncoding="GBK"%>
<%@ page language="java" contentType="text/html;charset=GB2312"%>
<%@ include file="../common/common.jsp"%>
<html:html locale="true">
<html:base/>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><bean:message key="msg.jsp.title" arg0="统计分析"/></title>
<link href="../css/css.css" href="css/css.css" rel="stylesheet" type="text/css">
<script language="javascript" src="../js/ClientFunc.js" src="js/ClientFunc.js"></script>
</head>
您可能感兴趣的文章:JSP自定义标签入门学习JSP经典学习笔记(包含各种入门常用语法)jsp Hibernate入门教程JSP迅速入门几则JSP入门知识总结JSP开发入门(一)--安装好你的机器来使用JSPJSP开发入门(五)--JSP其他相关资源JSP开发入门(四)--JSP的内部对象JSP开发入门(三)--JSP与JavaBeanJSP开发入门(二)----JSP语法的基本原理JSP开发入门JSP入门之HelloWorld程序实例
jsp入门
JSP