请各位大哥大姐指教。
解决方案 »
- struts2 result返回问题
- 异常java.lang.IllegalStateException:getAttritue: Session already invalidated
- struts2 <s:select>默认值问题
- eclipse中部署web项目到tomcat下,修改首页的页面后,启动tomcat,仍显示未修改前的JSP
- lucene索引文件遇到内存问题!
- 求一套用Eclipse配置hibnerate的方案,数据库用Sql2000.
- 求救:关于javabean的问题
- SEVERE: Exception sending context initialized event to listener instance of clas
- 用ant预编译tomcat5里的jsp页面,高手请指教!!
- 4个小问题?
- 在jsp中关于点击新闻标题,跳出新闻内容的问题
- js文件解密
Date currentTime = new Date();
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
String dateString = formatter.format(currentTime);
ParsePosition pos = new ParsePosition(8);
Date currentTime = formatter.parse(dateString, pos);
return currentTime;
}
Date current = new Date();
SimpleDateFormat sdf= new SimpleDateFormat("yyyy年MM月dd日");
String dateString = sdf.format(current);
return dateString;
}