当前位置: 技术问答>java相关
jsp中可以,写在bean中出错,为什么?
来源: 互联网 发布时间:2015-02-01
本文导语: java.util.Date dt; int cyear,cmonth,cdate,cweek; String week; dt = new java.util.Date(System.currentTimeMillis()); cyear = dt.getYear(); if(cyear
java.util.Date dt;
int cyear,cmonth,cdate,cweek;
String week;
dt = new java.util.Date(System.currentTimeMillis());
cyear = dt.getYear();
if(cyear
int cyear,cmonth,cdate,cweek;
String week;
dt = new java.util.Date(System.currentTimeMillis());
cyear = dt.getYear();
if(cyear