init
This commit is contained in:
26
test/webapp/bug49nnn/bug49196.jsp
Normal file
26
test/webapp/bug49nnn/bug49196.jsp
Normal file
@@ -0,0 +1,26 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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.
|
||||
--%>
|
||||
<%
|
||||
// As nonsensical as this is, it shouldn't throw an NPE
|
||||
pageContext.getErrorData();
|
||||
%>
|
||||
<html>
|
||||
<head><title>Bug 49196 test case</title></head>
|
||||
<body>
|
||||
<p>OK</p>
|
||||
</body>
|
||||
</html>
|
||||
23
test/webapp/bug49nnn/bug49297DuplicateAttr.jsp
Normal file
23
test/webapp/bug49nnn/bug49297DuplicateAttr.jsp
Normal file
@@ -0,0 +1,23 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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.
|
||||
--%>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<html>
|
||||
<head><title>Bug 49297 duplicate attribute test case</title></head>
|
||||
<body>
|
||||
<tags:echo echo="Hello World" echo="error"/>
|
||||
</body>
|
||||
</html>
|
||||
28
test/webapp/bug49nnn/bug49297MultipleImport1.jsp
Normal file
28
test/webapp/bug49nnn/bug49297MultipleImport1.jsp
Normal file
@@ -0,0 +1,28 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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 import="java.util.List" import="java.util.ArrayList" %>
|
||||
<html>
|
||||
<head><title>Bug 49297 multiple import test case</title></head>
|
||||
<body>
|
||||
<%
|
||||
// Make sure the imports above do work
|
||||
List<String> l = new ArrayList<String>();
|
||||
l.add("OK");
|
||||
%>
|
||||
<p><%=l.get(0)%></p>
|
||||
</body>
|
||||
</html>
|
||||
29
test/webapp/bug49nnn/bug49297MultipleImport2.jsp
Normal file
29
test/webapp/bug49nnn/bug49297MultipleImport2.jsp
Normal file
@@ -0,0 +1,29 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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 import="java.util.List" %>
|
||||
<%@page import="java.util.ArrayList" %>
|
||||
<html>
|
||||
<head><title>Bug 49297 multiple import test case</title></head>
|
||||
<body>
|
||||
<%
|
||||
// Make sure the imports above do work
|
||||
List<String> l = new ArrayList<String>();
|
||||
l.add("OK");
|
||||
%>
|
||||
<p><%=l.get(0)%></p>
|
||||
</body>
|
||||
</html>
|
||||
24
test/webapp/bug49nnn/bug49297MultiplePageEncoding1.jsp
Normal file
24
test/webapp/bug49nnn/bug49297MultiplePageEncoding1.jsp
Normal file
@@ -0,0 +1,24 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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 pageEncoding="ISO-8859-1" %>
|
||||
<%@page pageEncoding="ISO-8859-1" %>
|
||||
<html>
|
||||
<head><title>Bug 49297 multiple pageEncoding test case</title></head>
|
||||
<body>
|
||||
<p>Should fail</p>
|
||||
</body>
|
||||
</html>
|
||||
23
test/webapp/bug49nnn/bug49297MultiplePageEncoding2.jsp
Normal file
23
test/webapp/bug49nnn/bug49297MultiplePageEncoding2.jsp
Normal file
@@ -0,0 +1,23 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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 pageEncoding="ISO-8859-1" pageEncoding="ISO-8859-1" %>
|
||||
<html>
|
||||
<head><title>Bug 49297 multiple pageEncoding test case</title></head>
|
||||
<body>
|
||||
<p>Should fail</p>
|
||||
</body>
|
||||
</html>
|
||||
24
test/webapp/bug49nnn/bug49297MultiplePageEncoding3.jsp
Normal file
24
test/webapp/bug49nnn/bug49297MultiplePageEncoding3.jsp
Normal file
@@ -0,0 +1,24 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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 pageEncoding="ISO-8859-1" %>
|
||||
<%@page pageEncoding="UTF-8" %>
|
||||
<html>
|
||||
<head><title>Bug 49297 multiple pageEncoding test case</title></head>
|
||||
<body>
|
||||
<p>Should fail</p>
|
||||
</body>
|
||||
</html>
|
||||
23
test/webapp/bug49nnn/bug49297MultiplePageEncoding4.jsp
Normal file
23
test/webapp/bug49nnn/bug49297MultiplePageEncoding4.jsp
Normal file
@@ -0,0 +1,23 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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 pageEncoding="ISO-8859-1" pageEncoding="UTF-8"%>
|
||||
<html>
|
||||
<head><title>Bug 49297 multiple pageEncoding test case</title></head>
|
||||
<body>
|
||||
<p>Should fail</p>
|
||||
</body>
|
||||
</html>
|
||||
23
test/webapp/bug49nnn/bug49297NoSpace.jsp
Normal file
23
test/webapp/bug49nnn/bug49297NoSpace.jsp
Normal file
@@ -0,0 +1,23 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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.
|
||||
--%>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<html>
|
||||
<head><title>Bug 49297 whitespace test case</title></head>
|
||||
<body>
|
||||
<tags:echo echo="Hello World"dummy="ignored"/>
|
||||
</body>
|
||||
</html>
|
||||
23
test/webapp/bug49nnn/bug49297Tag.jsp
Normal file
23
test/webapp/bug49nnn/bug49297Tag.jsp
Normal file
@@ -0,0 +1,23 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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.
|
||||
--%>
|
||||
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
||||
<html>
|
||||
<head><title>Bug 49297 duplicate attribute test case</title></head>
|
||||
<body>
|
||||
<tags:bug49297 />
|
||||
</body>
|
||||
</html>
|
||||
1
test/webapp/bug49nnn/bug49464-cp1252.txt
Normal file
1
test/webapp/bug49nnn/bug49464-cp1252.txt
Normal file
@@ -0,0 +1 @@
|
||||
<EFBFBD>
|
||||
1
test/webapp/bug49nnn/bug49464-ibm850.txt
Normal file
1
test/webapp/bug49nnn/bug49464-ibm850.txt
Normal file
@@ -0,0 +1 @@
|
||||
<EFBFBD>
|
||||
1
test/webapp/bug49nnn/bug49464-iso-8859-1.txt
Normal file
1
test/webapp/bug49nnn/bug49464-iso-8859-1.txt
Normal file
@@ -0,0 +1 @@
|
||||
<EFBFBD>
|
||||
1
test/webapp/bug49nnn/bug49464-utf-8-bom.txt
Normal file
1
test/webapp/bug49nnn/bug49464-utf-8-bom.txt
Normal file
@@ -0,0 +1 @@
|
||||
½
|
||||
1
test/webapp/bug49nnn/bug49464-utf-8.txt
Normal file
1
test/webapp/bug49nnn/bug49464-utf-8.txt
Normal file
@@ -0,0 +1 @@
|
||||
½
|
||||
18
test/webapp/bug49nnn/bug49555.jsp
Normal file
18
test/webapp/bug49nnn/bug49555.jsp
Normal file
@@ -0,0 +1,18 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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.
|
||||
--%>
|
||||
<%@ taglib uri="http://tomcat.apache.org/bugs" prefix="bugs" %>
|
||||
<p>00-${bugs:bug49555()}</p>
|
||||
24
test/webapp/bug49nnn/bug49726a.jsp
Normal file
24
test/webapp/bug49nnn/bug49726a.jsp
Normal file
@@ -0,0 +1,24 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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 contentType="text/html"%>
|
||||
<html>
|
||||
<head><title>Bug 49726 test case</title></head>
|
||||
<body>
|
||||
<p>OK</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
23
test/webapp/bug49nnn/bug49726b.jsp
Normal file
23
test/webapp/bug49nnn/bug49726b.jsp
Normal file
@@ -0,0 +1,23 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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.
|
||||
--%>
|
||||
<html>
|
||||
<head><title>Bug 49726 test case</title></head>
|
||||
<body>
|
||||
<p>OK</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
40
test/webapp/bug49nnn/bug49799.jsp
Normal file
40
test/webapp/bug49nnn/bug49799.jsp
Normal file
@@ -0,0 +1,40 @@
|
||||
<%--
|
||||
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.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
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.
|
||||
--%>
|
||||
<jsp:element name="p">
|
||||
<jsp:attribute name="style" omit="false">color:red</jsp:attribute>
|
||||
<jsp:body>00-Red</jsp:body>
|
||||
</jsp:element>
|
||||
<jsp:element name="p">
|
||||
<jsp:attribute name="style" omit="true">color:red</jsp:attribute>
|
||||
<jsp:body>01-Not Red</jsp:body>
|
||||
</jsp:element>
|
||||
<jsp:element name="p">
|
||||
<jsp:attribute name="style" omit="${false}">color:red</jsp:attribute>
|
||||
<jsp:body>02-Red</jsp:body>
|
||||
</jsp:element>
|
||||
<jsp:element name="p">
|
||||
<jsp:attribute name="style" omit="${true}">color:red</jsp:attribute>
|
||||
<jsp:body>03-Not Red</jsp:body>
|
||||
</jsp:element>
|
||||
<jsp:element name="p">
|
||||
<jsp:attribute name="style" omit="<%=(1==2)%>">color:red</jsp:attribute>
|
||||
<jsp:body>04-Red</jsp:body>
|
||||
</jsp:element>
|
||||
<jsp:element name="p">
|
||||
<jsp:attribute name="style" omit="<%=(1==1)%>">color:red</jsp:attribute>
|
||||
<jsp:body>05-Not Red</jsp:body>
|
||||
</jsp:element>
|
||||
Reference in New Issue
Block a user