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

📄 informationdetailview.jsp

📁 这个是完整的wap项目的源码 开发语言 Java 系统架构 Struts + hibernate + spring 数据库 Mysql5.0 应用服务器Tomcat5.0 开发工具 MyEc
💻 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())) {
		%>
			&nbsp;&nbsp;内容:
		<%
			} else if ("1".equalsIgnoreCase(form.getCategory())) {
		%>
			&nbsp;&nbsp;歌词(音乐内容):
		<%	
			} else {
		%>
			<div align="center"><IMG width="320px" height="320px" src="<%=form.getFilePath()%>"/></div>
			&nbsp;&nbsp;图片介绍:
		<%	
			}
		%>

		</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 + -