很奇怪的jsp錯誤,大家試試看報錯不

wangconghao發表於2008-09-23

<%@ page language="java" pageEncoding="GBK"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/jb-common.tld" prefix="jb" %>
<script src="validate.js" ></script>
<script src="icommon.js" ></script>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<html:html>
<head>
	<base href="<%=basePath%>">
	<title>jb-aptech畢業設計專案</title>
	<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="css/style.css" rel="stylesheet" type="text/css">
	<script type="text/javascript">
	<!--
		function doSubmit(o){
			document.forms[0].elements["o"].value=o;
			document.forms[0].submit();
		}
	-->
	</script>
</head>

<body>
	<html:form action="salchance">
		<div class="page_title">
			銷售機會管理&nbsp; > 編輯銷售機會
		</div>
		<div class="button_bar">
			<button class="common_button" onclick="help('');">
				幫助
			</button>
			<button class="common_button" onclick="back();">
				返回
			</button>
			<button class="common_button"
				onclick="add('salchance.do?o=doAddChance');">
				儲存
			</button>
		</div>
		<table class="query_form_table">
			<tr>
				<th>
					編號
				</th>
				<td>
					<html:text property="item.chcId" value="${item.chcId}" readonly />

				</td>
				<th>
					機會來源
				</th>
				<td>
					<html:text property="item.chcSource" value="${item.chcSource}"
						size="20" />
				</td>
			</tr>
			<tr>
				<th>
					客戶名稱
				</th>
				<td>
					<html:text property="item.chcCustName" value="${item.chcCustName}" />
					<span class="red_star">*</span>
				</td>
				<th>
					成功機率
				</th>
				<td>
					<html:text property="item.chcRate" value="${item.chcRate}" />
					<span class="red_star">*</span>
				</td>
			</tr>
			<tr>
				<th>
					概要
				</th>
				<td colspan="3">
					<html:text property="item.chcTitle" value="${item.chcTitle}"
						size="52" />
					<span class="red_star">*</span>
				</td>
			</tr>
			<tr>
				<th>
					聯絡人
				</th>
				<td>
					<html:text property="item.chcLinkman" value="${item.chcLinkman}"
						size="20" />
				</td>
				<th>
					聯絡人電話
				</th>
				<td>
					<html:text property="item.chcTel" value="${item.chcTel}" size="20" />
				</td>
			</tr>
			<tr>
				<th>
					機會描述
				</th>
				<td colspan="3">
					<html:textarea property="item.chcDesc"
						value="${item.chcDesc} rows=" 6" cols="50" />
					<span class="red_star">*</span>
				</td>
			</tr>
			<tr>
				<th>
					建立人
				</th>
				<td>
					<html:text property="item.chcCreateBy"
						value="${sessionScope.USER.usrName}" readonly size="20" />
					<span class="red_star">*</span>
				</td>
				<th>
					建立時間
				</th>
				<td>
					<html:text property="item.chcCreateDate"
						value="${item.chcCreateDAte}" readonly size="20">
						<span class="red_star">*</span>
				</td>
			</tr>
		</table>
		<br />
		<table disabled class="query_form_table" id="table1">
			<tr>
				<th>
					指派給
				</th>
				<td>
					<select name="D1">
						<option>
							請選擇...
						</option>
						<option>
							小明
						</option>
						<option>
							旺財
						</option>
						<option>
							球球
						</option>
						<option>
							孫小美
						</option>
						<option>
							周潔輪
						</option>
					</select>
					<span class="red_star">*</span>
				</td>
				<th>
					指派時間
				</th>
				<td>
					<html:text id="t2" property="item.chcDueDate" readonly size="20" />
					<span class="red_star">*</span>
				</td>
			</tr>
		</table>
		<script>
	setCurTime('t2');
</script>
	</html:form>
</body>
</html:html>
<p class="indent">

相關文章