Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use DOCTYPE html for all pages.

  • Loading branch information...
commit e4125c174ce67cc4eb04e1d726d3a870f36200a4 1 parent aff8b55
@GraylinKim GraylinKim authored
View
6 src/main/webapp/header.jsp
@@ -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>
View
12 src/main/webapp/index.jsp
@@ -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>
View
2  src/main/webapp/templates/meeting.jsp
@@ -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");
View
2  src/main/webapp/templates/search.jsp
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.