<%@ page language="java" contentType="text/html; charset=utf-8" %> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> Struts Cookbook

Struts Examples with Code

This is a collection of examples which demonstrate some of the more frequently used Struts Tags. Familiarity with the Java(tm) Programming Language and HTML is assumed.

To navigate your way through the examples, the following icons will help:

Execute the example
Return to this screen
View the source code for the example

Simple Form using ActionForm Execute View source
Simple Form using DynaActionForm Execute View source
Select and Options tags Execute View source
Multibox (for checkboxes) Execute View source
Bean tags Execute View source
Logic tags Execute View source
Links Execute View source
Validator Execute View source
Message resources Execute View source
Localization Execute View source
Control duplication form submission Execute View source
Wildcard Action Mappings Execute View source

Valid XHTML 1.0!