<%@ 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" %> Simple form using ActionForm View Source Return to examples page

Simple form using ActionForm


Enter information into the fields below. Your entries will be displayed when you Submit the form.
This is just to demonstrate the Struts html tags. The information that you enter is discarded.

* = required field


* What's your first name?:

* Enter a secret word or phrase:

What is your favorite color?:
Red Green Blue

Is that really your favorite color?

How much do you like your chosen color?:
Actually, I hate it.
Not so much.
I'm indifferent
It's pretty neat
I painted my whole house with it.

Enter a message (you may use html tags):