<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> imageboardViewResult.jsp

상품 상세


상품명 : ${imageName }
가격 : ${imagePrice }
수량 : ${imageQty }
합계 : ${imagePrice * imageQty }
${imageContent }

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> imageboardViewResult.jsp

상품 상세


상품명 : ${imageName }
가격 : ${imagePrice }
수량 : ${imageQty }
합계 : ${imagePrice * imageQty }
${imageContent }

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> imageboardViewResult.jsp

상품 상세


상품명 : ${imageName }
가격 : ${imagePrice }
수량 : ${imageQty }
합계 : ${imagePrice * imageQty }
${imageContent }

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="<http://java.sun.com/jsp/jstl/core>" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>imageboardViewResult.jsp</title>
<style type="text/css">
table, t d {
	border: 1px solid #333333;
	border-collapse: collapse;
	padding: 4px;
}
.button-area {
	text-align: center;
}
</style>
</head>
<body>
	<br><br>
	<h2>상품 상세</h2>
	<br>
	<table>
		<tr>
			<td rowspan="5">
				<img src="../storage/${imageFile }" width="200px" height="200px"/>
			</td>
		</tr>
		<tr>
			<td width="300px"> 상품명 : ${imageName }</td>
		</tr>
		<tr>
			<td width="300px"> 가격 : ${imagePrice }</td>
		</tr>
		<tr>
			<td width="300px"> 수량 : ${imageQty }</td>
		</tr>
		<tr>
			<td width="300px"> 합계 : ${imagePrice * imageQty }</td>
		</tr>
		<tr>
			<td colspan="2" height="200px" valign="top">
				<pre>${imageContent }</pre>
			</td>
		</tr>
	</table>
	<br/>
	<div class="button-area">
		<c:if test="${sessionScope.memberId != null }">
			<button onclick="location.href='imageboardModifyReady.jsp?seq=${seq}&pg=${pg }'"> 수정 </button>
			<button onclick="location.href='imageboardDelete.jsp?seq=${seq}&pg=${pg }'"> 삭제 </button>
		</c:if>
	</div>
	
</body>
</html>