Configuration is based on element-only XML like the Servlet 2.2 deployment descriptors. For convenience, Resin allows any element to be used as an attribute. This syntactic sugar makes the configuration files more readable and maintainable. Using the syntactic sugar, the following are equivalent:
In general, the order is not important, but the nesting depth is. The special element
resin:include can be used in
any place to read in another file.
|