Fix display of sessionList and sessionDetail pages in IE 6 and IE 7:
authorkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 29 Sep 2009 22:24:47 +0000 (22:24 +0000)
committerkkolinko <kkolinko@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 29 Sep 2009 22:24:47 +0000 (22:24 +0000)
do not include ASF License comment into generated output.

Because of that large comment that precedes other content those browsers try to display these pages as generic XML, and fail.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@820110 13f79535-47bb-0310-9956-ffa450edef68

webapps/manager/sessionDetail.jsp
webapps/manager/sessionsList.jsp

index 0e80b9e..3c0e41f 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
+<%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
@@ -14,7 +14,7 @@
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
--->
+--%>
 <%@page session="false" contentType="text/html; charset=ISO-8859-1" %>
 <%@page import="java.util.Enumeration" %>
 <%@page import="javax.servlet.http.HttpSession" %>
index bceb479..54d8b56 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
+<%--
  Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
@@ -14,7 +14,7 @@
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
--->
+--%>
 <%@page session="false" contentType="text/html; charset=ISO-8859-1" %>
 <%@page import="java.util.Collection" %>
 <%@page import="java.util.Iterator" %>