JSP中使用jstl计算整除: Html代码 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <fmt:parseNumber value="${(25 / 13)}" integerOnly="true"/>