ok

Mini Shell

Direktori : /opt/cpanel/ea-tomcat85/webapps/examples/jsp/jsp2/jspx/
Upload File :
Current File : //opt/cpanel/ea-tomcat85/webapps/examples/jsp/jsp2/jspx/basic.jspx.html

<!DOCTYPE html><html><head><meta charset="UTF-8" /><title>Source Code</title></head><body><pre>&lt;?xml version="1.0" encoding="UTF-8"?>
&lt;!--
  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.
-->
&lt;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">
  &lt;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"/>
  &lt;jsp:directive.page contentType="application/xhtml+xml" />
  &lt;head>
    &lt;title>JSPX - XHTML Basic Example&lt;/title>
  &lt;/head>
  &lt;body>
    &lt;h1>JSPX - XHTML Basic Example&lt;/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.
    &lt;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;amp;lt;jsp:root&amp;amp;gt; to be the root element of the document.
    This is no longer the case in JSP 2.0.
    &lt;p/>
    This particular example uses
    namespace declarations to make the output of this page a valid XHTML
    document.
    &lt;p/>
    Just to prove this is live, here's some dynamic content:
    &lt;jsp:useBean id="now" class="java.util.Date" />
    &lt;fmt:formatDate value="${now}" pattern="MMMM d, yyyy, H:mm:ss"/>
  &lt;/body>
&lt;/html>
</pre></body></html>

Zerion Mini Shell 1.0