first nosql version
[jabaws.git] / webservices / compbio / nosql / WebContent / JobLength.jsp
diff --git a/webservices/compbio/nosql/WebContent/JobLength.jsp b/webservices/compbio/nosql/WebContent/JobLength.jsp
new file mode 100644 (file)
index 0000000..65c7004
--- /dev/null
@@ -0,0 +1,23 @@
+<%@ page language="java" contentType="text/html; charset=UTF-8"
+    pageEncoding="UTF-8"%>
+    <%@page import="java.util.Calendar"%>
+   
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Date interval</title>
+</head>
+<body>
+       <form method="post" action="LengthServlet">
+               <h3>Enter time period</h3>      
+                <% Calendar cal = Calendar.getInstance();
+                String datecalBegin = cal.get(Calendar.YEAR) + "/" + cal.get(Calendar.MONTH) + "/1";
+                       String datecalEnd = cal.get(Calendar.YEAR) + "/" + cal.get(Calendar.MONTH) + "/" + cal.get(Calendar.DAY_OF_MONTH);
+                %>
+               <p>from  <input type="text" name="data1" value = <%= datecalBegin%> style=" width : 145px;"/>
+               to <input type="text" name="data2" value = <%= datecalEnd%> style=" width : 145px;"/></p>
+               <input type="submit" name="Search" value="Search"/>
+       </form>
+</body>
+</html>
\ No newline at end of file