소스 파일 최초 업로드
This commit is contained in:
44
tomcat/webapps.dist/examples/WEB-INF/jsp/403.jsp
Normal file
44
tomcat/webapps.dist/examples/WEB-INF/jsp/403.jsp
Normal file
@@ -0,0 +1,44 @@
|
||||
<%--
|
||||
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 session="false" trimDirectiveWhitespaces="true" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Access Denied</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}
|
||||
H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
|
||||
PRE, TT {border: 1px dotted #525D76}
|
||||
A {color : black;}A.name {color : black;}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>403 Access Denied</h1>
|
||||
<p>
|
||||
You are not authorized to view this page.
|
||||
</p>
|
||||
<p>
|
||||
By default the examples web application is only accessible from a browser
|
||||
running on the same machine as Tomcat. If you wish to modify this
|
||||
restriction, you'll need to edit the example web application's
|
||||
<tt>context.xml</tt> file.
|
||||
</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
45
tomcat/webapps.dist/examples/WEB-INF/jsp/403.jsp.html
Normal file
45
tomcat/webapps.dist/examples/WEB-INF/jsp/403.jsp.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html><html><head><meta charset="UTF-8" /><title>Source Code</title></head><body><pre><%--
|
||||
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 session="false" trimDirectiveWhitespaces="true" %>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Access Denied</title>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;font-size:12px;}
|
||||
H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
|
||||
PRE, TT {border: 1px dotted #525D76}
|
||||
A {color : black;}A.name {color : black;}
|
||||
-->
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>403 Access Denied</h1>
|
||||
<p>
|
||||
You are not authorized to view this page.
|
||||
</p>
|
||||
<p>
|
||||
By default the examples web application is only accessible from a browser
|
||||
running on the same machine as Tomcat. If you wish to modify this
|
||||
restriction, you'll need to edit the example web application's
|
||||
<tt>context.xml</tt> file.
|
||||
</p>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</pre></body></html>
|
||||
54
tomcat/webapps.dist/examples/WEB-INF/jsp/debug-taglib.tld
Normal file
54
tomcat/webapps.dist/examples/WEB-INF/jsp/debug-taglib.tld
Normal file
@@ -0,0 +1,54 @@
|
||||
<?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">
|
||||
|
||||
<!-- a tag library descriptor -->
|
||||
|
||||
<taglib>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<jsp-version>1.2</jsp-version>
|
||||
<short-name>debug</short-name>
|
||||
<uri>http://tomcat.apache.org/debug-taglib</uri>
|
||||
<description>
|
||||
This tag library defines no tags. Instead, its purpose is encapsulated
|
||||
in the TagLibraryValidator implementation that simply outputs the XML
|
||||
version of a JSP page to standard output, whenever this tag library is
|
||||
referenced in a "taglib" directive in a JSP page.
|
||||
</description>
|
||||
<validator>
|
||||
<validator-class>validators.DebugValidator</validator-class>
|
||||
</validator>
|
||||
|
||||
<!-- This is a dummy tag solely to satisfy DTD requirements -->
|
||||
<tag>
|
||||
<name>log</name>
|
||||
<tag-class>examples.LogTag</tag-class>
|
||||
<body-content>TAGDEPENDENT</body-content>
|
||||
<description>
|
||||
Perform a server side action; Log the message.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>toBrowser</name>
|
||||
<required>false</required>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
|
||||
</taglib>
|
||||
107
tomcat/webapps.dist/examples/WEB-INF/jsp/example-taglib.tld
Normal file
107
tomcat/webapps.dist/examples/WEB-INF/jsp/example-taglib.tld
Normal file
@@ -0,0 +1,107 @@
|
||||
<?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>simple</short-name>
|
||||
<uri>http://tomcat.apache.org/example-taglib</uri>
|
||||
<description>
|
||||
A simple tab library for the examples
|
||||
</description>
|
||||
|
||||
<!-- A simple Tag -->
|
||||
<!-- foo tag -->
|
||||
<tag>
|
||||
<name>foo</name>
|
||||
<tag-class>examples.FooTag</tag-class>
|
||||
<tei-class>examples.FooTagExtraInfo</tei-class>
|
||||
<body-content>JSP</body-content>
|
||||
<description>
|
||||
Perform a server side action; uses 3 mandatory attributes
|
||||
</description>
|
||||
|
||||
<attribute>
|
||||
<name>att1</name>
|
||||
<required>true</required>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>att2</name>
|
||||
<required>true</required>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>att3</name>
|
||||
<required>true</required>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<!-- Another simple tag -->
|
||||
<!-- log tag -->
|
||||
<tag>
|
||||
<name>log</name>
|
||||
<tag-class>examples.LogTag</tag-class>
|
||||
<body-content>TAGDEPENDENT</body-content>
|
||||
<description>
|
||||
Perform a server side action; Log the message.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>toBrowser</name>
|
||||
<required>false</required>
|
||||
</attribute>
|
||||
</tag>
|
||||
|
||||
<!-- Another simple Tag -->
|
||||
<!-- values tag -->
|
||||
<tag>
|
||||
<name>values</name>
|
||||
<tag-class>examples.ValuesTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<description>
|
||||
Accept and return values of different types. This tag is used
|
||||
to illustrate type coercions.
|
||||
</description>
|
||||
<attribute>
|
||||
<name>object</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.Object</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>string</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>java.lang.String</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>long</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>long</type>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>double</name>
|
||||
<required>false</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
<type>double</type>
|
||||
</attribute>
|
||||
</tag>
|
||||
</taglib>
|
||||
124
tomcat/webapps.dist/examples/WEB-INF/jsp/jsp2-example-taglib.tld
Normal file
124
tomcat/webapps.dist/examples/WEB-INF/jsp/jsp2-example-taglib.tld
Normal file
@@ -0,0 +1,124 @@
|
||||
<?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.
|
||||
-->
|
||||
|
||||
<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">
|
||||
<description>A tag library exercising SimpleTag handlers.</description>
|
||||
<tlib-version>1.0</tlib-version>
|
||||
<short-name>SimpleTagLibrary</short-name>
|
||||
<uri>http://tomcat.apache.org/jsp2-example-taglib</uri>
|
||||
<tag>
|
||||
<description>Outputs Hello, World</description>
|
||||
<name>helloWorld</name>
|
||||
<tag-class>jsp2.examples.simpletag.HelloWorldSimpleTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
</tag>
|
||||
<tag>
|
||||
<description>Repeats the body of the tag 'num' times</description>
|
||||
<name>repeat</name>
|
||||
<tag-class>jsp2.examples.simpletag.RepeatSimpleTag</tag-class>
|
||||
<body-content>scriptless</body-content>
|
||||
<variable>
|
||||
<description>Current invocation count (1 to num)</description>
|
||||
<name-given>count</name-given>
|
||||
</variable>
|
||||
<attribute>
|
||||
<name>num</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<description>Populates the page context with a BookBean</description>
|
||||
<name>findBook</name>
|
||||
<tag-class>jsp2.examples.simpletag.FindBookSimpleTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<name>var</name>
|
||||
<required>true</required>
|
||||
<rtexprvalue>true</rtexprvalue>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<description>
|
||||
Takes 3 fragments and invokes them in a random order
|
||||
</description>
|
||||
<name>shuffle</name>
|
||||
<tag-class>jsp2.examples.simpletag.ShuffleSimpleTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<name>fragment1</name>
|
||||
<required>true</required>
|
||||
<fragment>true</fragment>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>fragment2</name>
|
||||
<required>true</required>
|
||||
<fragment>true</fragment>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>fragment3</name>
|
||||
<required>true</required>
|
||||
<fragment>true</fragment>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<description>Outputs a colored tile</description>
|
||||
<name>tile</name>
|
||||
<tag-class>jsp2.examples.simpletag.TileSimpleTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<attribute>
|
||||
<name>color</name>
|
||||
<required>true</required>
|
||||
</attribute>
|
||||
<attribute>
|
||||
<name>label</name>
|
||||
<required>true</required>
|
||||
</attribute>
|
||||
</tag>
|
||||
<tag>
|
||||
<description>
|
||||
Tag that echoes all its attributes and body content
|
||||
</description>
|
||||
<name>echoAttributes</name>
|
||||
<tag-class>jsp2.examples.simpletag.EchoAttributesTag</tag-class>
|
||||
<body-content>empty</body-content>
|
||||
<dynamic-attributes>true</dynamic-attributes>
|
||||
</tag>
|
||||
<function>
|
||||
<description>Reverses the characters in the given String</description>
|
||||
<name>reverse</name>
|
||||
<function-class>jsp2.examples.el.Functions</function-class>
|
||||
<function-signature>java.lang.String reverse( java.lang.String )</function-signature>
|
||||
</function>
|
||||
<function>
|
||||
<description>Counts the number of vowels (a,e,i,o,u) in the given String</description>
|
||||
<name>countVowels</name>
|
||||
<function-class>jsp2.examples.el.Functions</function-class>
|
||||
<function-signature>java.lang.String numVowels( java.lang.String )</function-signature>
|
||||
</function>
|
||||
<function>
|
||||
<description>Converts the string to all caps</description>
|
||||
<name>caps</name>
|
||||
<function-class>jsp2.examples.el.Functions</function-class>
|
||||
<function-signature>java.lang.String caps( java.lang.String )</function-signature>
|
||||
</function>
|
||||
</taglib>
|
||||
|
||||
Reference in New Issue
Block a user