"Fossies" - the Fresh Open Source Software Archive

Member "apache-tomcat-8.5.58/webapps/docs/appdev/sample/web/hello.jsp" (10 Sep 2020, 1279 Bytes) of package /windows/www/apache-tomcat-8.5.58-windows-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JavaServer Pages source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <%--
    2   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.
   16 --%>
   17 <%@ page session="false" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
   18 <!DOCTYPE html>
   19 <html>
   20 <head>
   21 <meta charset="UTF-8" />
   22 <title>Sample Application JSP Page</title>
   23 </head>
   24 <body>
   25 
   26 <div style="float: left; padding: 10px;">
   27 <img src="images/tomcat.gif" alt="" />
   28 </div>
   29 <h1>Sample Application JSP Page</h1>
   30 This is the output of a JSP page that is part of the Hello, World
   31 application.
   32 
   33 
   34 <%= new String("Hello!") %>
   35 
   36 </body>
   37 </html>