tomcat.start();
ByteChunk res = getUrl("http://localhost:" + getPort() +
- "/test/bug49196.jsp");
+ "/test/bug49nnn/bug49196.jsp");
String result = res.toString();
assertTrue(result.contains("OK"));
tomcat.start();
ByteChunk res = getUrl("http://localhost:" + getPort() +
- "/test/bug49555.jsp");
+ "/test/bug49nnn/bug49555.jsp");
String result = res.toString();
assertEcho(result, "00-" + TesterFunctions.Inner$Class.RETVAL);
ByteChunk res = new ByteChunk();
Map<String,List<String>> headers = new HashMap<String,List<String>>();
- getUrl("http://localhost:" + getPort() + "/test/bug49726a.jsp", res,
- headers);
+ getUrl("http://localhost:" + getPort() + "/test/bug49nnn/bug49726a.jsp",
+ res, headers);
// Check request completed
String result = res.toString();
ByteChunk res = new ByteChunk();
Map<String,List<String>> headers = new HashMap<String,List<String>>();
- getUrl("http://localhost:" + getPort() + "/test/bug49726b.jsp", res,
- headers);
+ getUrl("http://localhost:" + getPort() + "/test/bug49nnn/bug49726b.jsp",
+ res, headers);
// Check request completed
String result = res.toString();
ByteChunk res = new ByteChunk();
Map<String,List<String>> headers = new HashMap<String,List<String>>();
- getUrl("http://localhost:" + getPort() + "/test/bug49799.jsp", res,
- headers);
+ getUrl("http://localhost:" + getPort() + "/test/bug49nnn/bug49799.jsp",
+ res, headers);
// Check request completed
String result = res.toString();
tomcat.start();
int sc = getUrl("http://localhost:" + getPort() +
- "/test/bug49297NoSpace.jsp", new ByteChunk(),
+ "/test/bug49nnn/bug49297NoSpace.jsp", new ByteChunk(),
new HashMap<String,List<String>>());
assertEquals(500, sc);
tomcat.start();
int sc = getUrl("http://localhost:" + getPort() +
- "/test/bug49297DuplicateAttr.jsp", new ByteChunk(),
+ "/test/bug49nnn/bug49297DuplicateAttr.jsp", new ByteChunk(),
new HashMap<String,List<String>>());
assertEquals(500, sc);
ByteChunk res = new ByteChunk();
int sc = getUrl("http://localhost:" + getPort() +
- "/test/bug49297NoSpace.jsp", res,
+ "/test/bug49nnn/bug49297NoSpace.jsp", res,
new HashMap<String,List<String>>());
tomcat.start();
int sc = getUrl("http://localhost:" + getPort() +
- "/test/bug49297DuplicateAttr.jsp", new ByteChunk(),
+ "/test/bug49nnn/bug49297DuplicateAttr.jsp", new ByteChunk(),
new HashMap<String,List<String>>());
assertEquals(500, sc);
<jsp-config>
<jsp-property-group>
<default-content-type>text/plain</default-content-type>
- <url-pattern>/bug49726a.jsp</url-pattern>
- <url-pattern>/bug49726b.jsp</url-pattern>
+ <url-pattern>/bug49nnn/bug49726a.jsp</url-pattern>
+ <url-pattern>/bug49nnn/bug49726b.jsp</url-pattern>
</jsp-property-group>
</jsp-config>
</web-app>
\ No newline at end of file
+++ /dev/null
-<%--
- 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>
\ No newline at end of file
+++ /dev/null
-<%--
- 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>
\ No newline at end of file
+++ /dev/null
-<%--
- 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>
\ No newline at end of file
+++ /dev/null
-<%--
- 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>
+++ /dev/null
-<%--
- 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>
-
+++ /dev/null
-<%--
- 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>
-
+++ /dev/null
-<%--
- 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>
\ No newline at end of file
--- /dev/null
+<%--
+ 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>
\ No newline at end of file
--- /dev/null
+<%--
+ 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>
\ No newline at end of file
--- /dev/null
+<%--
+ 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>
\ No newline at end of file
--- /dev/null
+<%--
+ 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>
--- /dev/null
+<%--
+ 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>
+
--- /dev/null
+<%--
+ 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>
+
--- /dev/null
+<%--
+ 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>
\ No newline at end of file