상품 등록


imageboardWriteForm.jsp

상품 등록


상품 코드
상품명
상품 가격
imageboardWriteForm.jsp

상품 등록


상품 코드
상품명
상품 가격
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>imageboardWriteForm.jsp</title>
<style type="text/css">
table, th, td {
	border: 1px solid #333333;
	border-collapse: collapse;
	padding: 4px;
}
textarea {
	resize: none;
}
</style>
<script type="text/javascript" src="../script/imageboardScript.js?after"></script>
</head>
<body>
	<br><br>
	<h2>상품 등록</h2>
	<br>
	<form name="imageboardWriteForm" action="../imageboard/imageboardWrite.jsp" method="post" enctype="multipart/form-data">
		<table>
			<tr>
				<th width="100px">상품 코드</th>
				<td width="300px"><input type="text" name="imageId" value="img_" size="50px"/></td>
			</tr>
			<tr>
				<th width="100px">상품명</th>
				<td width="300px"><input type="text" name="imageName" value="" size="50px"/></td>
			</tr>
			<tr>
				<th width="100px">상품 가격</th>
				<td width="300px"><input type="text" name="imagePrice" value="" size="50px"/></td>
			</tr>
			<tr>
				<th width="100px">상품 수량</th>
				<td width="300px"><input type="text" name="imageQty" value="" size="50px"/></td>
			</tr>
			<tr>
				<th width="100px">상품 설명</th>
				<td width="300px"><textarea rows="10" cols="52" name="imageContent"></textarea></td>
			</tr>
			<tr>
				<td colspan="2"><input type="file" name="imageFile" size="50px"/></td>
			</tr>
			<tr>
				<td colspan="2" align="center">
					<input type="button" value="등록" onclick="imageWrite()"/> &nbsp;
					<input type="reset" value="다시 작성"/>
				</td>
			</tr>
		</table>
	</form>
</body>
</html>
상품 코드
상품명
상품 가격