Article
Complete the MVC Puzzle with Struts
Once deployed, the application can be accessed at the following URL (for Tomcat):
http://localhost:8080/<war-file-name>/Login.do
Below are some screenshots from this application:
The login page

The welcome page

Validation Errors
Summary
In this article, we’ve looked at the Model-View-Controller pattern, a simple “roll your own” implementation, and Struts, which allow us to develop flexible and extensible MVC-based Web applications. Obviously, there is more to Struts than we can hope to cover in an article like this, so you should consult the resources below for more information.
References
Websites:
The Jakarta Struts site http://jakara.apache.org/struts
Books:
Jakarta Struts Pocket Reference by Chuck Cavaness, Brian Keeton. May 2003.
http://www.amazon.com/exec/obidos/ASIN/0596005199/
Programming Jakarta Struts by Chuck Cavaness. November 2002
http://www.amazon.com/exec/obidos/tg/detail/-/0596003285
Struts in Action by Ted Husted, Cedric Dumoulin, George Franciscus, and David
Winterfeldt; Foreword by Craig R. McClanahan. November 2002.
http://www.amazon.com/exec/obidos/ASIN/1930110502/