blob: 92655d14f24d17054ea97a55dc42a1eb1bf84a47 [file] [log] [blame]
刘洪青6266f992017-05-15 21:21:03 +08001<%--
Hongqing Liufd5ee812014-05-10 16:32:51 +08002 Licensed to the Apache Software Foundation (ASF) under one or more
3 contributor license agreements. See the NOTICE file distributed with
4 this work for additional information regarding copyright ownership.
5 The ASF licenses this file to You under the Apache License, Version 2.0
6 (the "License"); you may not use this file except in compliance with
7 the License. You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
刘洪青6266f992017-05-15 21:21:03 +080016--%>
17<html>
Hongqing Liufd5ee812014-05-10 16:32:51 +080018
19<body bgcolor="white">
20
21<font color="red">
22
23<%@ page buffer="5kb" autoFlush="false" %>
24
刘洪青6266f992017-05-15 21:21:03 +080025<p>In place evaluation of another JSP which gives you the current time: <%@ include file="foo.jsp" %>
Hongqing Liufd5ee812014-05-10 16:32:51 +080026
刘洪青6266f992017-05-15 21:21:03 +080027<p> <jsp:include page="foo.html" flush="true"/> by including the output of another JSP: <jsp:include page="foo.jsp" flush="true"/>
28:-)
Hongqing Liufd5ee812014-05-10 16:32:51 +080029
30</html>