<%@ page language="java" %> <%@ taglib uri="/WEB-INF/struts-i18n.tld" prefix="i18n" %>

Test HTML Document

This document contains many elements with optional end tags and some common illegal HTML constructs to demonstrate the new functionality in version 1.1.

Table Example
First ColumnSecond Column
Cell 1
This is a table within the table
Second row of inner table

This paragraph contains a comment. This text is a continuation of the paragraph before the one that is commented out.

This text contains incorrectly nested formatting tags which is

quite commonly generated by HTML editors. This text occurs outside of the FONT element, but is still considered to be part of the previous paragraph because FONT elements spaning block elements are illegal.

Server Tag Examples:

Hello World

'; ?> <%= $variable %> <%@ include file="relativeURL" %>

This paragraph has a dynamic id attribute

The following is Mason server code sampled from http://www.masonbook.com/book/chapter-2.mhtml:

<& menu &> <&| /i18n/itext, lang => $lang &> %# The bits in here will be available from $m->content in the /i18/text Hello, <% $name %>. These words are in English. Bonjour, <% $name %>, ces mots sont franE<#xC3>E<#xA7>ais. Ellohay <% substr($name,2) . substr($name,0,1) . 'ay' %>, esethay ordsway areyay inyay Igpay Atinlay. <%def .make_a_link> <% $text %> <%args> $path %query => ( ) $text <%init> my $url = ...