1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <![CDATA[ package com.newInstance.site.beans; import java.io.Serializable; public class PageHeaderInfo implements Serializable { /** The title of the page */ private String pageTitle; /** The slogan of the page */ private String pageSlogan; public String getPageTitle() { return pageTitle; } public void setPageTitle(String pageTitle) { this.pageTitle = pageTitle; } public String getPageSlogan() { return pageSlogan; } public void setPageSlogan(String pageSlogan) { this.pageSlogan = pageSlogan; } } ]]> |
1 2 | $<TOMCAT-ROOT>/webapps/$<WEB-APP-NAME>/WEB-INF/classes/com/newInstance/ site/beans/PageHeaderInfo.class |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | <![CDATA[ <%@ page language="java" contentType="text/html" %> <html> <head> <title>newInstance.com</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link href="/styles/default.css" rel="stylesheet" type="text/css" /> </head> <body> <jsp:include page="header.jsp" flush="true"> <jsp:param name="pageTitle" value="newInstance.com"/> <jsp:param name="pageSlogan" value="Java and XML :: Turning theory into practice" /> </jsp:include> <%@ include file="/navigation.jsp" %> <jsp:include page="bookshelf.jsp" flush="true" /> <jsp:include page="/mt-blogs/index.jsp" flush="true" /> <%@ include file="/footer.jsp" %> </body> </html> ]]> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | <![CDATA[ <!-- Begin header section --> <%@ page language="java" contentType="text/html" %> <jsp:useBean id="pageHeaderInfo" class="com.newInstance.site.beans.PageHeaderInfo"> <jsp:setProperty name="pageHeaderInfo" property="*" /> </jsp:useBean> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="91" height="50" align="right" valign="top" bgcolor="#330066"><font color="#FFFFFF"><img src="/images/header-lions.gif" width="90" height="60"></font></td> <td colspan="3" align="left" valign="top" bgcolor="#000000"><table width="100%" height="60" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="261" rowspan="2"><img src="/images/header-title.gif" width="261" height="60"></td> <td class="pagetitle" width="249" height="55" align="right" valign="bottom"><jsp:getProperty name="pageHeaderInfo" property="pageSlogan"/></td> <td width="10" height="55"> </td> </tr> <tr> <td height="5"><img src="/images/spacer.gif" width="1" height="5"></td> <td height="5"><img src="/images/spacer.gif" width="1" height="5"></td> </tr> </table></td> <td width="141" bgcolor="#000000"> <font color="#FFFFFF"> </font> </td> </tr> <!-- End header section --> ]]> |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |