Permalink
Browse files

Use DOCTYPE html for all pages.

  • Loading branch information...
1 parent aff8b55 commit e4125c174ce67cc4eb04e1d726d3a870f36200a4 @GraylinKim GraylinKim committed Feb 15, 2013
@@ -1,6 +1,4 @@
-<%@ page language="java" import="java.util.*, java.text.*,java.io.*,gov.nysenate.openleg.*,gov.nysenate.openleg.model.*" pageEncoding="UTF-8"%>
-
-<%
+<%@ page language="java" import="java.util.*, java.text.*,java.io.*,gov.nysenate.openleg.*,gov.nysenate.openleg.model.*" pageEncoding="UTF-8"%><%
String appPath = request.getContextPath();
String title = request.getParameter("title");
if (title == null)
@@ -28,7 +26,7 @@
if (searchType == null)
searchType = "";
%>
-
+<!DOCTYPE html>
<html>
<head>
<title><%=title%></title>
@@ -1,6 +1,4 @@
-<%@ page language="java" import="java.util.*, java.text.*,java.io.*,gov.nysenate.openleg.*,gov.nysenate.openleg.model.*" pageEncoding="UTF-8"%>
-
-<%
+<%@ page language="java" import="java.util.*, java.text.*,java.io.*,gov.nysenate.openleg.*,gov.nysenate.openleg.model.*" pageEncoding="UTF-8"%><%
session.setAttribute("term","");
session.removeAttribute("mobile");
@@ -24,15 +22,9 @@ if (userAgent.indexOf("mobile") != -1 || userAgent.indexOf("wap") != -1 || userA
return;
}
- %>
-<%
-
-
Bill bill = null;
String last = null;
DateFormat df = SimpleDateFormat.getDateInstance(SimpleDateFormat.MEDIUM);
-%>
-<%
String title = request.getParameter("title");
@@ -47,7 +39,7 @@ String billkey = request.getParameter("billkey");
if (billkey == null)
billkey = "";
%>
-
+<!DOCTYPE html>
<html>
<head>
<script type="text/javascript">var _sf_startpt=(new Date()).getTime()</script>
@@ -1,4 +1,4 @@
-<%@ page language="java" import="java.util.*,java.text.*,gov.nysenate.openleg.*,gov.nysenate.openleg.model.*,javax.xml.bind.*,gov.nysenate.openleg.util.*" contentType="text/html" pageEncoding="utf-8"%>
+<%@ page language="java" import="java.util.*,java.text.*,gov.nysenate.openleg.*,gov.nysenate.openleg.model.*,gov.nysenate.openleg.util.*" contentType="text/html" pageEncoding="utf-8"%>
<%
String appPath = request.getContextPath();
DateFormat df = new SimpleDateFormat("MMM d, yyyy - h:mm a");
@@ -1,4 +1,4 @@
-<%@ page language="java" import="java.util.*,java.text.*,gov.nysenate.openleg.*,gov.nysenate.openleg.search.*,gov.nysenate.openleg.model.*,gov.nysenate.openleg.util.*" contentType="text/html" pageEncoding="utf-8" %><%
+<%@ page language="java" import="gov.nysenate.openleg.util.OpenLegConstants,gov.nysenate.openleg.search.SenateResponse,gov.nysenate.openleg.search.Result,java.text.SimpleDateFormat, java.util.Iterator" contentType="text/html" pageEncoding="utf-8" %><%
String requestPath = request.getRequestURI();

0 comments on commit e4125c1

Please sign in to comment.