alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Ant example source code file (xml.jsp)

This example Ant source code file (xml.jsp) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Ant tags/keywords

iso-8859-1, iso-8859-1, iso_8859_1, iso_8859_1

The xml.jsp source code

<?xml version="1.0" ?>
<!-- :mode=xml:indentSize=2 -->
<!-- note the lack of a language setting here. crimson whined when ISO-8859-1 was set,
	 that it thought it was loading a file of type ISO_8859_1 and
	 so there was a mismatch, even though the mismatch is only 
	 between hyphen types -->
<jsp:root
  xmlns:jsp="http://java.sun.com/JSP/Page"
  version="1.2"
  >
<jsp:directive.page language="java" />
<jsp:directive.page contentType="application/xml" />
<timestamp>
<jsp:expression>System.currentTimeMillis()
</timestamp>
</jsp:root>

Other Ant examples (source code examples)

Here is a short list of links related to this Ant xml.jsp source code file:

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

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
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.