title: How to add date and time picker in a JSP page
body: <p>I need to add date and time picker to my JSP page, using the below code, I am able to get the date picker. Could anyone help me out with the date and time picker in JSP.</p>
  
  <pre><code>&lt;%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"      "http://www.w3.org/TR/html4/loose.dtd"&gt; (http://www.w3.org/TR/html4/loose.dtd%27%3E)
  &lt;html&gt;
  &lt;head&gt;
   &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
  
   &lt;link rel="stylesheet" href="http://code.jquery.com/ui/1.9.2/themes/base/jquery-ui.css" /&gt;
    &lt;script src="http://code.jquery.com/jquery-1.8.3.js"&gt;&lt;/script&gt;
    &lt;script src="http://code.jquery.com/ui/1.9.2/jquery-ui.js"&gt;&lt;/script&gt;
    &lt;script&gt;
  $(function() {
      $( "#datepicker" ).datepicker();
  });
  &lt;/script&gt;
   &lt;title&gt;Test&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  Date: &lt;input type="text" id="datepicker" /&gt;
  &lt;/body&gt;
    &lt;/html&gt; 
  </code></pre>