calendar c = calendar.getinstance();int year = c.get(calendar.year);int month = c.get(calendar.month);int day= c.get(calendar.day);
这三行加在<% %>里面
调用时用<%= year %><%= month%><%= day%>
中国足彩网信息请查看IT技术专栏