| Run:
| lottoXml.jsp
| View:
| lottoXml.jsp
### Lottery Sample using JSP 1.2 feature JSP page using XML syntax.
This example demonstrates use of new JSP 1.2 feature JSP page using XML syntax . This sample picks lottery numbers. The chosen lottery numbers are displayed in the page as a set of numbered balls. There is a single image for each numbered ball. The JSP page uses a Bean to generate the lottery numbers. As each image is named identically except for the number it represents, generating the page is a simple operation of looping over the numbers generated by the Bean and appending the number to the end of the image name.

Copyright (c) 2001, 2002, Oracle Corporation. All rights reserved.