jstl-随机数-借用jsp嵌入的代码 <c:set var="rand"><%= java.lang.Math.round(java.lang.Math.random() * 10000) %></c:set> ${rand }