<table class="table">
<thead>
<tr>
<th scope="col">Book Id</th>
<th scope="col">Book Name</th>
<th scope="col">Book Author</th>
</tr>
</thead>
<tbody>
<tr>
<td><c:forEach items="${searchedBook}" var="book">
${book.book_id}
</c:forEach></td>
</tr>
<tr>
<td><c:forEach items="${searchedBook}" var="book">
${book.book_name}
</c:forEach></td>
</tr>
<tr>
<td><c:forEach items="${searchedBook}" var="book">
${book.book_author}
</c:forEach></td>
</tr>
</tbody>
</table>
but how I want it is like this, the way I want it to look like
Is there a way to make it possible?