网络编程 发布日期:2025/1/11 浏览次数:1
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%>