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

📄 informationdetailmusicright.jsp

📁 这个是完整的wap项目的源码 开发语言 Java 系统架构 Struts + hibernate + spring 数据库 Mysql5.0 应用服务器Tomcat5.0 开发工具 MyEc
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<%@ page import="com.longtime.wap.module.information.web.form.InformationEditForm" %>
<%@ page import="com.longtime.wap.module.information.common.InformationConstant" %>
	<table width="750" border="0" align="center" class="TableBack">
		<html:hidden name="informationEditForm" property="informationId"/>
		<html:hidden name="informationEditForm" property="businessId"/>
		<html:hidden name="informationEditForm" property="editFlug"/>
		<html:hidden name="informationEditForm" property="filePath"/>
		<html:hidden name="informationEditForm" property="businessName"/>
		<html:hidden name="informationEditForm" property="searchValue"/>
		<html:hidden name="informationEditForm" property="searchType"/>
		<html:hidden name="informationEditForm" property="currentPage"/>
		<%
			InformationEditForm informationEditForm = (InformationEditForm) request.getAttribute(InformationConstant.INFORMATION_EDIT_FORM);
			String editFlug = informationEditForm.getEditFlug();
		%>
		<th colspan="3">
			<%
				if ("edit".equalsIgnoreCase(editFlug)) {
			%>
				更改音乐信息
			<%
				} else if ("save".equalsIgnoreCase(editFlug)){
			%>
				新建音乐信息
			<%	
				} else {
			%>	
				音乐信息
			<%
				}
			%>
		</th>
		<tr>
			<td class="tborder"></td>
			<td>
				&nbsp;
			</td>
			<td class="tborder"></td>
		</tr>
		<tr>
			<td class="tborder"></td>

			<td>
				<table width="95%" align="center" border="1" class="TableBack">
					<tr>
						<td align="right">
						业务名称&nbsp;:&nbsp;
						</td>
						<td colspan="2">
							<strong><bean:write name="informationEditForm" property="businessName"/></strong>
						</td>
					</tr>
					<tr>
						<td align="right">
						音 乐&nbsp;:&nbsp;
						</td>
						<td colspan="2">
						<%
							if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
						%>
							<html:text property="title"></html:text><html:errors property="title"/>
							&nbsp;<FONT color="red">*</FONT>
						<%
							} else {
						%>
							<bean:write name="informationEditForm" property="title"/>
						<%
							}
						%>
							
						</td>
					</tr>
					<tr>
						<td align="right">
						单 价&nbsp;:&nbsp;
						</td>
						<td>
						<%
							if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
						%>
							<html:text property="price"></html:text><html:errors property="price"/>
							&nbsp;<FONT color="red">*</FONT>&nbsp;元(人民币)
						<%
							} else {
						%>
							<bean:write name="informationEditForm" property="price"/>&nbsp;元
						<%
							}
						%>
							
						</td>
						<td>
						
							&nbsp;&nbsp;&nbsp;&nbsp;热门
						<%
							if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
						%>
							<html:checkbox property="isHot"></html:checkbox>
						<%
							} else {
						%>
							<html:checkbox property="isHot" disabled="true"></html:checkbox>
						<%
							}
						%>
							&nbsp;&nbsp;推荐
						<%
							if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
						%>
							<html:checkbox property="isRecommend"></html:checkbox>
						<%
							} else {
						%>
							<html:checkbox property="isRecommend" disabled="true"></html:checkbox>
						<%
							}
						%>
							&nbsp;&nbsp;发布
						<%
							if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
						%>
							<html:checkbox property="isPub"></html:checkbox>
						<%
							} else {
						%>
							<html:checkbox property="isPub" disabled="true"></html:checkbox>
						<%
							}
						%>
						</td>
					</tr>
					<tr> 
						<td align="right">
						歌 词&nbsp;:&nbsp;
						</td>
						<td colspan="2">
						<%
							if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
						%>
							<html:textarea property="content" rows="10" cols="60"/>&nbsp;&nbsp;&nbsp;字符个数请不要超过2000<html:errors property="content"/>
						<%
							} else if(informationEditForm.getContent()==null) {
						%>
							<textarea cols="90" rows="10" readonly="true"></textarea>
						<% 
							} else {
						%>
						<textarea cols="90" rows="10" readonly="true"><%=informationEditForm.getContent()%></textarea>
						<%
							}
						%>
						</td>
					</tr>
					<tr>
						<%
							if (!"save".equalsIgnoreCase(editFlug)) {
						%>
							<td>
							</td>
							<td colspan="2">
							<center>
							<embed src="<%=informationEditForm.getFilePath()%>" weigth=200 height=40 loop="true">
							</center>
							</td>
						<%	
							} else {
						%>
							<td align="right">
							音乐上传&nbsp;:&nbsp;
							</td>
							<td colspan="2"><html:file property="uploadFile"></html:file><html:errors property="uploadFile"/><font color="red">*</font></td>
						<%
							}
						%>

					</tr>
				</table>
			</td>
			<td class="tborder"></td>
		</tr>
		<tr>
			<td class="tborder"></td>
			<td>
				&nbsp;
			</td>
			<td class="tborder"></td>
		</tr>
		<tr>
			
				<td class="tborder"></td>
				<td align="center">
				<%
					if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
				%>
					<input type="submit" name="save" value="保存">&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="reset" name="reset" value="重置">&nbsp;&nbsp;&nbsp;&nbsp;
				<%
					}
					if ("save".equalsIgnoreCase(editFlug)){
				%>
						<input type="button" name="button" value="返回" onclick="window.location.href='informationAdd.do?method=listBusinesses'">
				<%
					} else {
				%>
						<input type="button" name="button" value="返回" onclick="formSubmit('informationForm', 'module/information/informationList.do?method=listInformation')">
				<%
					}
				%>
				</td>
			<td class="tborder"></td>
		</tr>
		<tr>
			<td colspan="3" class="tborder"></td>
		</tr>
	</table>

⌨️ 快捷键说明

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