Article

Complete the MVC Puzzle with Struts

Page: 1 2 3 4 5 6 7

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:

1244_login
The login page

1244_welcome
The welcome page

1244_error
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/

If you liked this article, share the love:
Print-Friendly Version Suggest an Article

Sponsored Links

Rate This Article

  • 1
    Poor
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
    Great

Comment on This Article

Have something to say?

Post A Comment

You need to be a member of the SitePoint Forums to comment on this post. Sign Up

Already a member? Post using your SitePoint Forums account: