3. 장바구니에 해당하는 cart.jsp 파일을 생성하고 다음 내용을 작성합니다.
코드 14-9 cart.jsp
<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<title>Cart</title>
<link href="<c:url value="/resources/css/bootstrap.min.css"/>"
rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand navbar-dark bg-dark">
<div class="container">
<div class="navbar-header">
<a class="navbar-brand" href="../">Home</a>
</div>
</div>
</nav>
<div class="jumbotron">
<div class="container">
<h1 class="display-3">장바구니</h1>
</div>
</div>
<div class="container">
<div>
<a href="#" class="btn btn-success float-right">주문하기</a>
</div>
<div style="padding-top: 50px">
<table class="table table-hover">
<tr>
<th>도서</th>
<th>가격</th>
<th>수량</th>
<th>소계</th>
<th>비고</th>
</tr>