先导入struts2-dojo-plugin-2.1.6.jar,再在 jsp 页面最开头加上:
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
在<head> </head>中加入<sx:head />
<sx:datetimepicker name="project.expectedEndTime" value="%{project.expectedEndTime}" displayFormat="yyyy-MM-dd" />