📄 informationdetailview.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="com.longtime.wap.module.front.web.form.InformationDetailForm"%>
<%@ page import="com.longtime.wap.module.front.common.FrontConstant" %>
<%@ page import="com.sun.org.apache.bcel.internal.generic.IF_ACMPEQ" %>
<%String path = request.getContextPath();
String basePath = request.getScheme() + "://"
+ request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<table border="1" align="center" class="TableFrontRightShow">
<%InformationDetailForm form = (InformationDetailForm) request
.getAttribute(FrontConstant.INFORMATION_DETAIL_FORM);
%>
<th>
<%=form.getTitle()%>
</th>
<tr>
<td align="left">
<%
if ("0".equalsIgnoreCase(form.getCategory())) {
%>
内容:
<%
} else if ("1".equalsIgnoreCase(form.getCategory())) {
%>
歌词(音乐内容):
<%
} else {
%>
<div align="center"><IMG width="320px" height="320px" src="<%=form.getFilePath()%>"/></div>
图片介绍:
<%
}
%>
</td>
</tr>
<tr>
<td align="center">
<%
if(form.getContent()==null) {
%>
<textarea cols="90" rows="10" readonly="true"></textarea>
<%
} else {
%>
<textarea cols="90" rows="10" readonly="true"><%=form.getContent()%></textarea>
<%
}
%>
</td>
</tr>
<%
if ("1".equalsIgnoreCase(form.getCategory())) {
%>
<tr>
<TD align="center">
<embed src="<%=form.getFilePath()%>" weigth=200 height=40 loop="true">
</TD>
</tr>
<%
}
%>
<tr>
<td align="right">
<span>所属单位:<%=form.getCpName()%></span>
</td>
</tr>
</table>
<br>
<div align="center">
<input type="button" value="返回首页" onClick="window.location.href='<%=basePath%>index.frame';">
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -