Author: markt
Date: Tue Jan 11 15:29:28 2011
New Revision: 1057694

URL: http://svn.apache.org/viewvc?rev=1057694&view=rev
Log:
License should be first thing in file unless file format prohibits it

Modified:
    tomcat/trunk/test/webapp-3.0/bug42565.jsp
    tomcat/trunk/test/webapp-3.0/bug44994.jsp
    tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015a.jsp
    tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015b.jsp
    tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015c.jsp
    tomcat/trunk/test/webapp-3.0/bug45nnn/bug45427.jsp
    tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451a.jsp
    tomcat/trunk/test/webapp-3.0/bug45nnn/bug45511.jsp
    tomcat/trunk/test/webapp-3.0/bug46381.jsp
    tomcat/trunk/test/webapp-3.0/bug46596.jsp
    tomcat/trunk/test/webapp-3.0/bug47331.jsp
    tomcat/trunk/test/webapp-3.0/bug47413.jsp
    tomcat/trunk/test/webapp-3.0/bug48nnn/bug48112.jsp
    tomcat/trunk/test/webapp-3.0/bug48nnn/bug48627.jsp
    tomcat/trunk/test/webapp-3.0/el-method.jsp
    tomcat/trunk/test/webapp-3.0/el-misc.jsp
    tomcat/trunk/test/webapp-3.0/script-expr.jsp
    tomcat/trunk/webapps/ROOT/index.jsp
    tomcat/trunk/webapps/examples/jsp/cal/cal1.jsp
    tomcat/trunk/webapps/examples/jsp/cal/cal2.jsp
    tomcat/trunk/webapps/examples/jsp/chat/index.jsp
    tomcat/trunk/webapps/examples/jsp/chat/login.jsp
    tomcat/trunk/webapps/examples/jsp/chat/post.jsp
    tomcat/trunk/webapps/examples/jsp/checkbox/checkresult.jsp
    tomcat/trunk/webapps/examples/jsp/colors/colrs.jsp
    tomcat/trunk/webapps/examples/jsp/dates/date.jsp
    tomcat/trunk/webapps/examples/jsp/error/err.jsp
    tomcat/trunk/webapps/examples/jsp/error/errorpge.jsp
    tomcat/trunk/webapps/examples/jsp/forward/forward.jsp
    tomcat/trunk/webapps/examples/jsp/forward/one.jsp
    tomcat/trunk/webapps/examples/jsp/include/include.jsp
    tomcat/trunk/webapps/examples/jsp/jsptoserv/hello.jsp
    tomcat/trunk/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp
    tomcat/trunk/webapps/examples/jsp/plugin/plugin.jsp
    tomcat/trunk/webapps/examples/jsp/sessions/carts.jsp
    tomcat/trunk/webapps/examples/jsp/simpletag/foo.jsp
    tomcat/trunk/webapps/examples/jsp/snp/snoop.jsp

Modified: tomcat/trunk/test/webapp-3.0/bug42565.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug42565.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug42565.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug42565.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 42565 test case</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/bug44994.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug44994.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug44994.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug44994.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 44994 test case</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015a.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015a.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015a.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015a.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 45015 test case A</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015b.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015b.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015b.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015b.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 45015 test case B</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015c.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015c.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015c.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug45nnn/bug45015c.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 45015 test case C</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/bug45nnn/bug45427.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug45nnn/bug45427.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug45nnn/bug45427.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug45nnn/bug45427.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 45427 test case</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451a.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451a.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451a.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug45nnn/bug45451a.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 45451 test case</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/bug45nnn/bug45511.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug45nnn/bug45511.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug45nnn/bug45511.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug45nnn/bug45511.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 45511 test case</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/bug46381.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug46381.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug46381.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug46381.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 46381 test case</title></head>
   <%

Modified: tomcat/trunk/test/webapp-3.0/bug46596.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug46596.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug46596.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug46596.jsp Tue Jan 11 15:29:28 2011
@@ -1,5 +1,3 @@
-<%@ taglib uri="http://tomcat.apache.org/testerFunctions"; prefix="fn" %>
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -16,6 +14,8 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib uri="http://tomcat.apache.org/testerFunctions"; prefix="fn" %>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 46596 test case</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/bug47331.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug47331.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug47331.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug47331.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 47331 test case</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/bug47413.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug47413.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug47413.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug47413.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <jsp:useBean id="values" class="jsp2.examples.ValuesBean" />
 <html>
   <head><title>Bug 47413 test case</title></head>

Modified: tomcat/trunk/test/webapp-3.0/bug48nnn/bug48112.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug48nnn/bug48112.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug48nnn/bug48112.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug48nnn/bug48112.jsp Tue Jan 11 15:29:28 2011
@@ -1,5 +1,3 @@
-<%@ taglib uri="http://tomcat.apache.org/testerFunctions"; prefix="fn" %>
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -16,6 +14,8 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib uri="http://tomcat.apache.org/testerFunctions"; prefix="fn" %>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 48112 test case</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/bug48nnn/bug48627.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/bug48nnn/bug48627.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/bug48nnn/bug48627.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/bug48nnn/bug48627.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Bug 46596 test case</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/el-method.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/el-method.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/el-method.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/el-method.jsp Tue Jan 11 15:29:28 2011
@@ -1,6 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
-<%@ page import="org.apache.el.TesterBeanA" %>
-<%@ page import="org.apache.el.TesterBeanB" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -17,6 +14,9 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
+<%@ page import="org.apache.el.TesterBeanA" %>
+<%@ page import="org.apache.el.TesterBeanB" %>
 <html>
   <head><title>EL method test cases</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/el-misc.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/el-misc.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/el-misc.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/el-misc.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Misc EL test cases</title></head>
   <body>

Modified: tomcat/trunk/test/webapp-3.0/script-expr.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/webapp-3.0/script-expr.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/test/webapp-3.0/script-expr.jsp (original)
+++ tomcat/trunk/test/webapp-3.0/script-expr.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 --%>
+<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
 <html>
   <head><title>Scripting expression test cases</title></head>
   <body>

Modified: tomcat/trunk/webapps/ROOT/index.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/ROOT/index.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/ROOT/index.jsp (original)
+++ tomcat/trunk/webapps/ROOT/index.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<!DOCTYPE html>
 <!--
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY 
 See the License for the specific language governing permissions and
 limitations under the License.
 -->
+<!DOCTYPE html>
 <%
 java.text.SimpleDateFormat sdf = new java.text.SimpleDateFormat("yyyy");
 request.setAttribute("year", sdf.format(new java.util.Date()));

Modified: tomcat/trunk/webapps/examples/jsp/cal/cal1.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/cal/cal1.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/cal/cal1.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/cal/cal1.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<HTML>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<HTML>
 <HEAD><TITLE> 
     Calendar: A JSP APPLICATION
 </TITLE></HEAD>

Modified: tomcat/trunk/webapps/examples/jsp/cal/cal2.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/cal/cal2.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/cal/cal2.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/cal/cal2.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<HTML>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
+<HTML>
 <HEAD><TITLE> 
     Calendar: A JSP APPLICATION
 </TITLE></HEAD>

Modified: tomcat/trunk/webapps/examples/jsp/chat/index.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/chat/index.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/chat/index.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/chat/index.jsp Tue Jan 11 15:29:28 2011
@@ -1,11 +1,3 @@
-<%...@page contentType="text/html; charset=UTF-8" %>
-<% if (session.getAttribute("nickname") == null) {
-    response.sendRedirect("login.jsp");
-    return;
-}
-%>
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" 
"http://www.w3.org/TR/html4/frameset.dtd";>
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -22,6 +14,14 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<%...@page contentType="text/html; charset=UTF-8" %>
+<% if (session.getAttribute("nickname") == null) {
+    response.sendRedirect("login.jsp");
+    return;
+}
+%>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" 
"http://www.w3.org/TR/html4/frameset.dtd";>
+<html>
 <head>
    <title>JSP Chat</title>
 </head>

Modified: tomcat/trunk/webapps/examples/jsp/chat/login.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/chat/login.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/chat/login.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/chat/login.jsp Tue Jan 11 15:29:28 2011
@@ -1,6 +1,3 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
-<%...@page contentType="text/html; charset=UTF-8" %>
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -17,6 +14,9 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<%...@page contentType="text/html; charset=UTF-8" %>
+<html>
 <head>
    <title>JSP Chat</title>
 </head>

Modified: tomcat/trunk/webapps/examples/jsp/chat/post.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/chat/post.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/chat/post.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/chat/post.jsp Tue Jan 11 15:29:28 2011
@@ -1,6 +1,3 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
-<%...@page contentType="text/html; charset=UTF-8" %>
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -17,6 +14,9 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<%...@page contentType="text/html; charset=UTF-8" %>
+<html>
 <head>
    <title>JSP Chat</title>
 </head>

Modified: tomcat/trunk/webapps/examples/jsp/checkbox/checkresult.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/checkbox/checkresult.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/checkbox/checkresult.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/checkbox/checkresult.jsp Tue Jan 11 
15:29:28 2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
+<html>
 <body bgcolor="white">
 <font size=5 color="red">
 <%! String[] fruits; %>

Modified: tomcat/trunk/webapps/examples/jsp/colors/colrs.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/colors/colrs.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/colors/colrs.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/colors/colrs.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<html>
 
 <jsp:useBean id="cb" scope="session" class="colors.ColorGameBean" />
 <jsp:setProperty name="cb" property="*" />

Modified: tomcat/trunk/webapps/examples/jsp/dates/date.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/dates/date.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/dates/date.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/dates/date.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<html>
 
 <%@ page session="false"%>
 

Modified: tomcat/trunk/webapps/examples/jsp/error/err.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/error/err.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/error/err.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/error/err.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<html>
 <body bgcolor="lightblue">
 
     <%@ page errorPage="errorpge.jsp" %>

Modified: tomcat/trunk/webapps/examples/jsp/error/errorpge.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/error/errorpge.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/error/errorpge.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/error/errorpge.jsp Tue Jan 11 15:29:28 
2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<html>
 
 <body bgcolor="red">
 

Modified: tomcat/trunk/webapps/examples/jsp/forward/forward.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/forward/forward.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/forward/forward.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/forward/forward.jsp Tue Jan 11 15:29:28 
2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
+<html>
 <% 
    double freeMem = Runtime.getRuntime().freeMemory();
    double totlMem = Runtime.getRuntime().totalMemory();

Modified: tomcat/trunk/webapps/examples/jsp/forward/one.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/forward/one.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/forward/one.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/forward/one.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<html>
 
 <body bgcolor="white">
 <font color="red">

Modified: tomcat/trunk/webapps/examples/jsp/include/include.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/include/include.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/include/include.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/include/include.jsp Tue Jan 11 15:29:28 
2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<html>
 
 <body bgcolor="white">
 

Modified: tomcat/trunk/webapps/examples/jsp/jsptoserv/hello.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/jsptoserv/hello.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/jsptoserv/hello.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/jsptoserv/hello.jsp Tue Jan 11 15:29:28 
2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<html>
 <body bgcolor="white">
 
 <h1>

Modified: tomcat/trunk/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/jsptoserv/jsptoservlet.jsp Tue Jan 11 
15:29:28 2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<html>
 <body bgcolor="white">
 
 <!-- Forward to a servlet -->

Modified: tomcat/trunk/webapps/examples/jsp/plugin/plugin.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/plugin/plugin.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/plugin/plugin.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/plugin/plugin.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<html>
 <title> Plugin example </title>
 <body bgcolor="white">
 <h3> Current time is : </h3>

Modified: tomcat/trunk/webapps/examples/jsp/sessions/carts.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/sessions/carts.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/sessions/carts.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/sessions/carts.jsp Tue Jan 11 15:29:28 
2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
+<html>
 <jsp:useBean id="cart" scope="session" class="sessions.DummyCart" />
 
 <jsp:setProperty name="cart" property="*" />

Modified: tomcat/trunk/webapps/examples/jsp/simpletag/foo.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/simpletag/foo.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/simpletag/foo.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/simpletag/foo.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,6 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<html>
 <body>
 <%@ taglib uri="http://tomcat.apache.org/example-taglib"; prefix="eg"%>
 

Modified: tomcat/trunk/webapps/examples/jsp/snp/snoop.jsp
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/jsp/snp/snoop.jsp?rev=1057694&r1=1057693&r2=1057694&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/jsp/snp/snoop.jsp (original)
+++ tomcat/trunk/webapps/examples/jsp/snp/snoop.jsp Tue Jan 11 15:29:28 2011
@@ -1,4 +1,3 @@
-<html>
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
@@ -15,7 +14,7 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
+<html>
 <body bgcolor="white">
 <h1> Request Information </h1>
 <font size="4">



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to