ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/webapps/examples/jsp/jsp2/jspx/basic.jspx

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/webapps/examples/jsp/jsp2/jspx/basic.jspx
Status
scanned
Type
file
Name
basic.jspx
Extension
.jspx
Programming language

      
    
Mime type
text/xml
File type
XML 1.0 document, ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
2258 (2.2 KB)
MD5
2984b5e494cf905959b0dbea9860c7d7
SHA1
d9dcf87b5c465dd6acad56c8056440759528b5ec
SHA256
4292002b34e1231ee4a42e43b60a5a3f2994cd0424eed345cbd171710a726cf0
SHA512

      
    
SHA1_git
547d07ae9074289bdf9ae032537685cbc2f514e2
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
basic.jspx | 2.2 KB |

<?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. --> <html xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" xmlns="http://www.w3.org/1999/xhtml"> <jsp:output doctype-root-element="html" doctype-public="-//W3C//DTD XHTML Basic 1.0//EN" doctype-system="http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd"/> <jsp:directive.page contentType="application/xhtml+xml" /> <head> <title>JSPX - XHTML Basic Example</title> </head> <body> <h1>JSPX - XHTML Basic Example</h1> This example illustrates how to use JSPX to produce an XHTML basic document suitable for use with mobile phones, televisions, PDAs, vending machines, pagers, car navigation systems, mobile game machines, digital book readers, smart watches, etc. <p/> JSPX lets you create dynamic documents in a pure XML syntax compatible with existing XML tools. The XML syntax in JSP 1.2 was awkward and required &amp;lt;jsp:root&amp;gt; to be the root element of the document. This is no longer the case in JSP 2.0. <p/> This particular example uses namespace declarations to make the output of this page a valid XHTML document. <p/> Just to prove this is live, here's some dynamic content: <jsp:useBean id="now" class="java.util.Date" /> <fmt:formatDate value="${now}" pattern="MMMM d, yyyy, H:mm:ss"/> </body> </html>
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
36.84
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 10 10
http://java.sun.com/JSP/Page 18 18
http://java.sun.com/jsp/jstl/fmt 19 19