init
This commit is contained in:
37
test/webapp-3.1/WEB-INF/tags11.tld
Normal file
37
test/webapp-3.1/WEB-INF/tags11.tld
Normal file
@@ -0,0 +1,37 @@
|
||||
<?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.
|
||||
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.
|
||||
--><!DOCTYPE taglib
|
||||
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN"
|
||||
"http://java.sun.com/dtd/web-jsptaglibrary_1_1.dtd">
|
||||
<taglib>
|
||||
<tlibversion>1.0</tlibversion>
|
||||
<jspversion>1.1</jspversion>
|
||||
<shortname>Tags11</shortname>
|
||||
<uri>http://tomcat.apache.org/tags11</uri>
|
||||
|
||||
<tag>
|
||||
<name>Echo</name>
|
||||
<tagclass>org.apache.jasper.compiler.TestValidator$Echo</tagclass>
|
||||
<bodycontent>empty</bodycontent>
|
||||
<attribute>
|
||||
<name>echo</name>
|
||||
<required>yes</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
37
test/webapp-3.1/WEB-INF/tags12.tld
Normal file
37
test/webapp-3.1/WEB-INF/tags12.tld
Normal file
@@ -0,0 +1,37 @@
|
||||
<?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.
|
||||
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.
|
||||
--><!DOCTYPE taglib
|
||||
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
|
||||
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
|
||||
<taglib>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<jsp-version>1.2</jsp-version>
|
||||
<short-name>Tags12</short-name>
|
||||
<uri>http://tomcat.apache.org/tags12</uri>
|
||||
|
||||
<tag>
|
||||
<name>Echo</name>
|
||||
<tag-class>org.apache.jasper.compiler.TestValidator$Echo</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<name>echo</name>
|
||||
<required>yes</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
37
test/webapp-3.1/WEB-INF/tags20.tld
Normal file
37
test/webapp-3.1/WEB-INF/tags20.tld
Normal file
@@ -0,0 +1,37 @@
|
||||
<?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.
|
||||
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 xmlns="http://java.sun.com/xml/ns/j2ee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
|
||||
http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
|
||||
version="2.0">
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<short-name>Tags20</short-name>
|
||||
<uri>http://tomcat.apache.org/tags20</uri>
|
||||
|
||||
<tag>
|
||||
<name>Echo</name>
|
||||
<tag-class>org.apache.jasper.compiler.TestValidator$Echo</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<name>echo</name>
|
||||
<required>yes</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
37
test/webapp-3.1/WEB-INF/tags21.tld
Normal file
37
test/webapp-3.1/WEB-INF/tags21.tld
Normal file
@@ -0,0 +1,37 @@
|
||||
<?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.
|
||||
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 xmlns="http://java.sun.com/xml/ns/javaee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
|
||||
http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
|
||||
version="2.1">
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<short-name>Tags21</short-name>
|
||||
<uri>http://tomcat.apache.org/tags21</uri>
|
||||
|
||||
<tag>
|
||||
<name>Echo</name>
|
||||
<tag-class>org.apache.jasper.compiler.TestValidator$Echo</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<name>echo</name>
|
||||
<required>yes</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
</taglib>
|
||||
36
test/webapp-3.1/WEB-INF/web.xml
Normal file
36
test/webapp-3.1/WEB-INF/web.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
<web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
|
||||
http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
|
||||
version="3.1"
|
||||
metadata-complete="true">
|
||||
|
||||
<display-name>Tomcat Servlet 3.1 Tests</display-name>
|
||||
<description>
|
||||
Provides a web application used by the Tomcat unit tests to ensure that
|
||||
Tomcat meets the requirements of the current JSP and Servlet specification
|
||||
for web applications that declare that they follow version 3.1 of the
|
||||
Servlet specification and version 2.3 of the JSP specification. This
|
||||
typically means ensuring that features introduced in later versions of the
|
||||
specification do not change the behaviour of applications that declared an
|
||||
earlier version of the specification.
|
||||
</description>
|
||||
|
||||
</web-app>
|
||||
21
test/webapp-3.1/el-as-literal.jsp
Normal file
21
test/webapp-3.1/el-as-literal.jsp
Normal file
@@ -0,0 +1,21 @@
|
||||
<%--
|
||||
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>
|
||||
<body>
|
||||
<p>00-${'hello world'}</p>
|
||||
</body>
|
||||
</html>
|
||||
29
test/webapp-3.1/tld-versions.jsp
Normal file
29
test/webapp-3.1/tld-versions.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.
|
||||
--%>
|
||||
<html><body>
|
||||
<%@ taglib prefix="tags11" uri="http://tomcat.apache.org/tags11" %>
|
||||
<%@ taglib prefix="tags12" uri="http://tomcat.apache.org/tags12" %>
|
||||
<%@ taglib prefix="tags20" uri="http://tomcat.apache.org/tags20" %>
|
||||
<%@ taglib prefix="tags21" uri="http://tomcat.apache.org/tags21" %>
|
||||
<tags11:Echo echo="${'00-hello world'}"/>
|
||||
<tags11:Echo echo="#{'01-hello world'}"/>
|
||||
<tags12:Echo echo="${'02-hello world'}"/>
|
||||
<tags12:Echo echo="#{'03-hello world'}"/>
|
||||
<tags20:Echo echo="${'04-hello world'}"/>
|
||||
<tags20:Echo echo="#{'05-hello world'}"/>
|
||||
<tags21:Echo echo="${'06-hello world'}"/>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user