blob: 121b37500298b41329a6847a29c65cfa8f8269e2 [file] [log] [blame]
Hongqing Liufd5ee812014-05-10 16:32:51 +08001<html><body><pre>
刘洪青6266f992017-05-15 21:21:03 +08002&lt;%--
Hongqing Liufd5ee812014-05-10 16:32:51 +08003 Licensed to the Apache Software Foundation (ASF) under one or more
4 contributor license agreements. See the NOTICE file distributed with
5 this work for additional information regarding copyright ownership.
6 The ASF licenses this file to You under the Apache License, Version 2.0
7 (the "License"); you may not use this file except in compliance with
8 the License. You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
刘洪青6266f992017-05-15 21:21:03 +080017--%>
18&lt;html>
Hongqing Liufd5ee812014-05-10 16:32:51 +080019&lt;title> Plugin example &lt;/title>
20&lt;body bgcolor="white">
21&lt;h3> Current time is : &lt;/h3>
22&lt;jsp:plugin type="applet" code="Clock2.class" codebase="applet" jreversion="1.2" width="160" height="150" >
23 &lt;jsp:fallback>
24 Plugin tag OBJECT or EMBED not supported by browser.
25 &lt;/jsp:fallback>
26&lt;/jsp:plugin>
27&lt;p>
28&lt;h4>
刘洪青6266f992017-05-15 21:21:03 +080029&lt;font color=red>
Hongqing Liufd5ee812014-05-10 16:32:51 +080030The above applet is loaded using the Java Plugin from a jsp page using the
31plugin tag.
32&lt;/font>
33&lt;/h4>
34&lt;/body>
35&lt;/html>
36</pre></body></html>