struts2的时间插件

<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>My JSP 'div.jsp' starting page</title>
    <sx:head/>
  </head>
 
  <body>
   
<%=new java.util.Date() %>
<hr>
<sx:datetimepicker
adjustWeeks="true"
displayFormat="yyyy-MM-dd"
toggleType="explode"
/>
  </body>
</html>

你可能感兴趣的:(struts2)