Author: kkolinko Date: Tue Sep 29 22:24:47 2009 New Revision: 820110 URL: http://svn.apache.org/viewvc?rev=820110&view=rev Log: Fix display of sessionList and sessionDetail pages in IE 6 and IE 7: 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. Modified: tomcat/trunk/webapps/manager/sessionDetail.jsp tomcat/trunk/webapps/manager/sessionsList.jsp Modified: tomcat/trunk/webapps/manager/sessionDetail.jsp URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/manager/sessionDetail.jsp?rev=820110&r1=820109&r2=820110&view=diff ============================================================================== --- tomcat/trunk/webapps/manager/sessionDetail.jsp (original) +++ tomcat/trunk/webapps/manager/sessionDetail.jsp Tue Sep 29 22:24:47 2009 @@ -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" %> Modified: tomcat/trunk/webapps/manager/sessionsList.jsp URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/manager/sessionsList.jsp?rev=820110&r1=820109&r2=820110&view=diff ============================================================================== --- tomcat/trunk/webapps/manager/sessionsList.jsp (original) +++ tomcat/trunk/webapps/manager/sessionsList.jsp Tue Sep 29 22:24:47 2009 @@ -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" %> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org