⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewarticle.jsp

📁 主要功能:   ·新闻采用在线编辑器,可以象使用word一样编辑新闻   ·可web上传图片,新闻内其它网站图片自动下载   ·无限级目录分类   ·可设头条新闻和图片新闻   ·新闻点评功能
💻 JSP
字号:
<%@ include file = "../tiles/include.jsp"%>
<center>
<table CELLPADDING="0" CELLSPACING="0" width="100%">
<tr>
	<td>&nbsp;&nbsp;<a href="./"><bean:message key="index.title"/></a>
	<logic:present name="parents" scope="request">
		<logic:iterate name="parents" id="parent" >
			&nbsp;&nbsp;===>&nbsp;&nbsp;<a href="viewCatalog.do?method=viewCatalog&catalogId=<bean:write  name="parent" property="catalogId" />"><bean:write  name="parent" property="catalogTitle" /></a>
		</logic:iterate>
	</logic:present>
	&nbsp;&nbsp;===>&nbsp;&nbsp;<a href="viewCatalog.do?method=viewCatalog&catalogId=<bean:write  name="article" property="catalog.catalogId" />"><bean:write  name="article" property="catalog.catalogTitle" /></a>
	</td>
</tr>
</table>
<table width="100%">
<tr align="center">
	<td colspan="4"><h3><bean:write  name="article" property="artTitle" /></h3></td>
</tr>
<tr align="center">
	<td><bean:message key="article.author"/> <bean:write  name="article" property="author.person.name" /></td>
	<td><bean:message key="article.dist"/> <bean:write  name="article" property="artDist" /></td>
	<td><bean:message key="article.count"/> <bean:write  name="article" property="artCount" /></td>
	<td><bean:message key="article.updateDate"/> <bean:write  name="article" property="artLastdate" formatKey="dateFormat"/></td>
</tr>
</table>
<table class="article" cellspacing="0" cellpadding="10" width="99%">
<tr>
	<td><bean:write  name="article" property="artContent" filter="false"/></td>
</tr>
</table>
<br>
<table class="sort-table" width="99%">
<thead>
<tr>
	<td colspan="2"><bean:message key="critic.critic"/></td>
</tr>
</thead>
<logic:iterate property="critics" name="article" id="critic" >
<tr>
	<td><bean:write  name="critic" property="author"/></td>
	<td><bean:write  name="critic" property="createDate" formatKey="dateFormat"/></td>
</tr>
<tr>
	<td colspan="2"><bean:write  name="critic" property="content" filter="false"/></td>
</tr>
<tr>
	<td colspan="2"><hr size="1"></td>
</tr>
</logic:iterate>
</table>

<html:form action="addCritic?method=addCritic" onsubmit = "return validateCriticForm(this);">
<table class="sort-table" width="99%">
<thead>
<tr>
	<td colspan="2"><bean:message key="critic.public"/></td>
</tr>
</thead>
<tr>
	<td><bean:message key="critic.author"/></td>
	<td><html:text property="critic.author" /></td>
</tr>
<tr>
	<td><bean:message key="critic.content"/></td>
	<td><html:textarea property="critic.content"  rows="5" cols="80"/></td>
</tr>
<tr>
	<td>&nbsp;</td>
	<td align="center"><html:submit styleClass="button"><bean:message key="button.save"/></html:submit></td>
</tr>
</table>
<input type="hidden" name="id" value="<bean:write  name="article" property="artId" />"> 
</html:form>
</center>
<html:javascript formName="criticForm"
        dynamicJavascript="true"
         staticJavascript="false"/>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -