Struts2 Showcase
Home
Configuration
Action Chaining
Config Browser
Conversion
Person Manager ( by Conventions )
Tags
Non UI Tags
Action Tag
Date Tag
Debug Tag
Iterator Generator Tag
Append Iterator Tag
Merge Iterator Demo
Subset Tag
Action Prefix Example (Freemarker)
If Tag (JSP)
If Tag (Freemarker)
UI Tags
UI Example
UI Example (Velocity)
Option Transfer Select UI Example
More Select Box UI Examples
Tree Example (static)
Tree Example (dynamic)
Tree Example (dynamic ajax loading)
Component Tag Example
Action Tag Example
DateTime picker tag - Pick a date
DateTime picker tag - Pick a time
File
File Download
File Upload
Single File Upload
Multiple File Upload (List)
Multiple File Upload (Array)
Examples
Hangman
Hangman (Non Ajax)
Hangman (Ajax - Experimental)
Person Manager
CRUD
Execute & Wait
Token
Validation
Model Driven
Integration
Freemarker
Demo of usage of a Custom Freemarker Manager
Demo of Standard Struts Freemarker Tags
JavaServer Faces
Struts 1 Integration
Tiles
AJAX
Ajax plugin
Ajax Chat
Interactive Demo
Help
Help
User Mailing List
Struts2 Website
Documentation
AJAX validation Example
1.Use AJAX validation, and AJAX request (ajaxAfterValidation="true"), if validation succeeds
Response goes here
Name:
Age:
Favorite color:
Submit Form with a link
Submit Form listening to an event on an element (check to submit)
2.Use AJAX validation, and regular request (ajaxAfterValidation="false", default), if validation succeeds
Name:
Age:
Favorite color:
Submit Form with a link
Submit Form listening to an event on an element (check to submit)
Back To Validation Examples