jsp页面怎么向servlet传递参数

2024-12-16 21:55:27
推荐回答(1个)
回答1:

private String transferLongToDate(String dateFormat,Long millSec){
SimpleDateFormat sdf = new SimpleDateFormat(dateFormat);
Date date= new Date(millSec);
return sdf.format(date);
}