<%-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --%> <%@ 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 DynaActionForm View Source Return to examples page

Simple form using DynaActionForm


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.

There is no validation in this example. See the validator example for use of validation with dynaforms.


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):