<select οnchange="changePage(this.value,${currentGroupId})" class="select-class">
<c:forEach begin="1" end="${requestScope.page4CurrentGroupMemberList.totalPage}" varStatus="total">
<option value="${total.count}"
<c:if test="${requestScope.page4CurrentGroupMemberList.currentPage == total.count}">selected</c:if>
>
${total.count}
</option>
</c:forEach>
</select>
<c:forEach begin="1" end="${requestScope.page4CurrentGroupMemberList.totalPage}" varStatus="total">
<option value="${total.count}"
<c:if test="${requestScope.page4CurrentGroupMemberList.currentPage == total.count}">selected</c:if>
>
${total.count}
</option>
</c:forEach>
</select>