?? selectcontent.jsp
字號:
<%@ page contentType="text/html; charset=gb2312"%>
<%@page import="java.sql.*"%>
<%@page import="java.util.*"%>
<%@page import="com.domain.BigTypeForm"%>
<%@page import="com.domain.SmallTypeForm"%>
<%@page import="com.domain.GoodsForm"%>
<jsp:useBean id="big" scope="page" class="com.dao.BigTypeDao"/>
<jsp:useBean id="small" scope="page" class="com.dao.SmallTypeDao"/>
<%
GoodsForm goodsForm=(GoodsForm)request.getAttribute("form");
%>
<script language="javascript">
function checkEmpty(form){
for(i=0;i<form.length;i++){
if(form.elements[i].value==""){
alert("表單信息不能為空");
return false;
}
}
}
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>電子商城的后臺</title>
<link href="../../css/css.css" rel="stylesheet" type="text/css">
</head>
<link href="css/css.css" rel="stylesheet" type="text/css">
<body>
<table width="755" border="0" align="center" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td height="108" colspan="2" background="image/banner1.jpg" ><div align="center">
<jsp:include page="../upTwo.jsp"/>
</div></td>
</tr>
<tr>
<td width="24%" height="318"><jsp:include page="../../leftManager.jsp"/> </td>
<td width="76%" height="36" bgcolor="#FFFFFF" class="linkBlack">
<div align="center">
<table width="99%" height="16" border="0" cellpadding="0" cellspacing="0">
<tr >
<td bgcolor="#E6E6E6" ><div align="center"><font color="#990000"><b>查看商品的詳細(xì)情況</b></font></div></td>
</tr>
</table><br><br>
<table width="90%" height="209" border="1" cellpadding="0" cellspacing="0">
<tr class="zi">
<td width="20%" height="26"> 所屬大類別</td>
<td width="31%"> <%=big.selectName(goodsForm.getBig())%></td>
<td width="20%"> 所屬于小類別</td>
<td width="31%"> <%=small.selectName(goodsForm.getSmall())%></td>
</tr>
<tr class="zi">
<td height="26"> 商品名稱</td>
<td> <%=goodsForm.getName()%></td>
<td> 生產(chǎn)廠商</td>
<td> <%=goodsForm.getFrom()%></td>
</tr>
<tr class="zi">
<td height="26"> 商品定價</td>
<td> <%=goodsForm.getNowPrice()%>元</td>
<td> 特價</td>
<td> <%=goodsForm.getFreePrice()%>元</td>
</tr>
<tr class="zi">
<td height="26"> 商品描述</td>
<td colspan="3"> <%=goodsForm.getIntroduce()%></td>
</tr>
<tr class="zi">
<td height="79"> 商品圖片</td>
<td colspan="3"> <input name="imageField" type="image" src="<%=goodsForm.getPicture()%>" width="140" height="94"></td>
</tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr class="zi">
<%String mark=goodsForm.getMark().toString();%>
<td width="65%" height="29" align="right">
<%if(mark.equals("0")){%>
<%}else{%>
<a href="goodsAction.do?action=11&id=<%=goodsForm.getId()%>&mark=0">刪除特價信息</a>
<%}%>
</td>
<td width="22%" align="right">
<%if(mark.equals("0")){%>
<a href="goodsAction.do?action=10&id=<%=goodsForm.getId()%>">設(shè)置特價商品</a>
<%}else{%>
<a href="goodsAction.do?action=10&id=<%=goodsForm.getId()%>">調(diào)整特價商品</a>
<%}%>
</td>
<td width="13%"> <a href="javascript:history.back();">返回</a></td>
</tr>
</table>
</div></td>
</tr>
<tr bgcolor="#FFFFFF">
<td height="60" colspan="2"><p align="center"><jsp:include page="../downNews.jsp"/>
</p> </td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -