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

📄 cellphonedetailright.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.cellphone.web.form.CellphoneForm" %>
	<table width="750" border="0" align="center" class="TableBack">
		<html:hidden name="cellphoneForm" property="cellphoneId"/>
		<html:hidden name="cellphoneForm" property="editFlug"/>
		<html:hidden name="cellphoneForm" property="searchCompany"/>
		<html:hidden name="cellphoneForm" property="searchType"/>
		<html:hidden name="cellphoneForm" property="currentPage"/>
		<html:hidden name="cellphoneForm" property="uniqueUa"/>
		<html:hidden name="cellphoneForm" property="uniqueType"/>
		
		<%
			CellphoneForm cellphoneForm = (CellphoneForm) request
					.getAttribute("cellphoneForm");
			String editFlug = cellphoneForm.getEditFlug();
		%>
		<th colspan="3">
			<%
				if ("edit".equalsIgnoreCase(editFlug)) {
			%>
				编辑手机信息
			<%
				} else if ("view".equalsIgnoreCase(editFlug)){
			%>
				手机信息
			<%	
				} else {
			%>
				新增手机信息
			<% 
				}
			%>
		</th>
		<tr>
			<td class="tborder"></td>
			<TD align="center">
				<logic:notEmpty name="actionMessages" scope="request">
					<logic:iterate id="message" name="actionMessages" scope="request">
						<center>
							<font color="red"><li>
									<bean:write name="message" />
								</li>
							</font>
						</center>
					</logic:iterate>
				</logic:notEmpty>
			</TD>
			<td class="tborder"></td>
		</tr>
		<logic:notEmpty name="wap_global_messages" scope="request">
		<tr>
			<td class="tborder"></td>
			<TD colspan="2">
				<logic:iterate id="message" name="wap_global_messages" scope="request">
					<center>
						<font color="red">
							<li>
								<bean:write name="message" />
							</li>
						</font>
					</center>
				</logic:iterate>
			</TD>
			<td class="tborder"></td>
		</tr>
		</logic:notEmpty>
		<tr><td colspan="3">&nbsp;</td></tr>
		<tr>
			<td class="tborder"></td>
			<td>
				<table width="95%" align="center" border="1" class="TableBack">
					<tr>
						<td align="right" width="50%">
							手机UA&nbsp;:&nbsp;
						</td>
						<td width="50%">
						<%
							if ("view".equalsIgnoreCase(editFlug)) {
						%>
							&nbsp;&nbsp;<bean:write name="cellphoneForm" property="cellphoneUA"/>
						<%
							} else {
						%>
							<html:text property="cellphoneUA"></html:text>&nbsp;<FONT color="red">*</FONT>
							<html:errors property="cellphoneUA"/>
						<%
							}
						%>
						</td>
					</tr>
					<tr>
						<td align="right">
							手机型号&nbsp;:&nbsp;
						</td>
						<td>
							<%
							if ("view".equalsIgnoreCase(editFlug)) {
						%>
							&nbsp;&nbsp;<bean:write name="cellphoneForm" property="cellphoneType"/>
							
						<%
							} else {
						%>
							<html:text property="cellphoneType"></html:text>&nbsp;<FONT color="red">*</FONT>
							<html:errors property="cellphoneType"/>
						<%
							}
						%>
						</td>
					</tr>
					<tr>
						<td align="right">
							厂 商&nbsp;:&nbsp;
						</td>
						<td>
							<%
							if ("view".equalsIgnoreCase(editFlug)) {
						%>
							&nbsp;&nbsp;<bean:write name="cellphoneForm" property="cellphoneCompany"/>
							
						<%
							} else {
						%>
							<html:text property="cellphoneCompany"></html:text>&nbsp;<FONT color="red">*</FONT>
							<html:errors property="cellphoneCompany"/>
						<%
							}
						%>
						</td>
					</tr>
					<tr>
						<td align="right">
							支持图片格式(最佳):&nbsp;
						</td>
						<td>
						<%
							if ("view".equalsIgnoreCase(editFlug)) {
						%>
							&nbsp;&nbsp;<bean:write name="cellphoneForm" property="cellphonePicture"/>
						<%
							} else {
						%>
							<html:select property="cellphonePicture">
								<html:option value="">-请您选择-</html:option>
								<html:option value="0">Png</html:option>
								<html:option value="1">Jpg</html:option>
								<html:option value="2">Bmp</html:option>
								<html:option value="3">Gif</html:option>
							</html:select>&nbsp;<FONT color="red">*</FONT>
							<html:errors property="cellphonePicture" />
						<%
							}
						%>
						</td>
					</tr>
				</table>
			</td>
			<td class="tborder"></td>
		</tr>
		<tr><td colspan="3">&nbsp;</td></tr>
		<tr>
			<td class="tborder"></td>
			<td align="center">
			<%
				if ("view".equalsIgnoreCase(editFlug)) {
			%>
				<input type="button" name="button" value="返回" onclick="formSubmit('cellphoneForm', 'module/cellphone/cellphoneList.do?method=listCellphone')">
			<%
				} else {
			%>	
 				<input type="submit" name="save" value="保存">&nbsp;&nbsp;&nbsp;&nbsp;
 				<input type="reset" name="reset" value="重置">&nbsp;&nbsp;&nbsp;&nbsp;
				<input type="button" name="button" value="返回" onclick="formSubmit('cellphoneForm', 'module/cellphone/cellphoneList.do?method=listCellphone')">
			<%
				}
			%>
			</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 + -