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技术专栏
2025国考·省考课程试听报名