struts2.1.X中使用datetimepicker

添加dojo依赖
<dependency>
		<groupId>org.apache.struts</groupId>
		<artifactId>struts2-dojo-plugin</artifactId>
		<version>2.1.6</version>
		<type>jar</type>
        	<scope>compile</scope>
</dependency> 
=================
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<s:head theme="xhtml"/>
<sx:head parseContent="true"/>
<sx:datetimepicker name="dd" label="Order Date"/>

你可能感兴趣的:(apache,struts,XHTML,dojo)