| career | drupal | java | mac | mysql | perl | scala | uml | unix  

Tomcat example source code file (basic.jspx)

This example Tomcat source code file (basic.jspx) is included in the "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Tomcat tags/keywords

apache, basic, jsp, jspx, license, license, see, this, this, xhtml, xhtml, xml, xml, you

The Tomcat basic.jspx source code

  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

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  See the License for the specific language governing permissions and
  limitations under the License.
<tags:xhtmlbasic xmlns:tags="urn:jsptagdir:/WEB-INF/tags"
  < contentType="text/html" />
    <title>JSPX - XHTML Basic Example
    <h1>JSPX - XHTML Basic Example
    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.
    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 &lt;jsp:root&gt; to be the root element of the document.
    This is no longer the case in JSP 2.0.
    This particular example uses a tag file to produce the DOCTYPE and
    namespace declarations to make the output of this page a valid XHTML
    Basic document.
    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"/>

Other Tomcat examples (source code examples)

Here is a short list of links related to this Tomcat basic.jspx source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller


new blog posts


Copyright 1998-2021 Alvin Alexander,
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.