This sample shows how to make a composite control in ASP.Net. The control is a standalone game of tic-tac-toe. The cells are buttons that raise events back to the server. The control uses the ViewState to keep track of whose turn it is to play. In addition, the control raises a custom event when the game is over. The winning algorithm uses a regular expression for ease of use. The control implements the INamingContainer interface which provides name scoping. As a result, multiple games can be played on the same web page.
Essential XML Quick Reference looks at mainstream XML technologies and serves as a thorough quick reference that answers the most common XML-related technical questions. It provides complete coverage of each topic along with plenty of meaningful examples.
Servlets and JSP: the J2EE Web Tier covers how to install a Servlet/JSP environment and what is in the JSP 2.0, Servlet 2.4, and JSTL 1.0 specs. The book also covers state management, design patterns, internationalization support, multi-client design, Java database connectivity, and more.