<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
   
    <title>My JSP 'index.jsp' starting page</title>
  <script language="javascript" type="text/javascript"
  src="js/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript">
<% java.text.SimpleDateFormat formatter = new java.text.SimpleDateFormat("yyyy-MM-dd");
  java.util.Date currentTime = new java.util.Date();//得到当前系统时间
  String str_date = formatter.format(currentTime); //将日期时间格式化 
%> 
</script>
 <div ></div>
<script>
WdatePicker({eCont:'div1',onpicked:function(dp){alert()}})
</script>
  </head>
 
  <body>
    
  </body>
</html>

相关文章:

  • 2021-11-29
  • 2021-11-29
  • 2021-07-17
  • 2021-07-20
  • 2021-10-26
  • 2021-09-21
猜你喜欢
  • 2021-10-18
  • 2021-11-27
  • 2021-12-04
  • 2022-02-22
相关资源
相似解决方案