Chapter 16. The Struts Application Framework

I l @ ve RuBoard

IN THIS CHAPTER

  • The MVC Pattern

  • A First Look at Struts

  • Setting Up Struts

  • The struts-config.xml File

  • The ActionForm

  • The Action

  • The Address Editing Page

  • Two-Step Forms

  • Configuring the Web Application Descriptor

  • Summary

Programmers who started doing Web sites back when CGI coding was the hot technology are accustomed to developing sites in a certain way. For example, a form will be presented on one page, a second page is loaded to process the data when the customer hits Submit, and so on.

JSP allows you to refine this somewhat. For example, in this book you have frequently used the same page to both display and process a form. But there's an entirely new way to organize Web sites using the MVC pattern. In this chapter, you'll get a quick introduction to Struts.

I l @ ve RuBoard


MySQL and JSP Web Applications. Data-Driven Programming Using Tomcat and MySQL
MySQL and JSP Web Applications: Data-Driven Programming Using Tomcat and MySQL
ISBN: 0672323095
EAN: 2147483647
Year: 2002
Pages: 203
Authors: James Turner

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net