O'Reilly logo

Struts Kick Start by Kevin Bedell, James Turner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hello World! Application Requirements

The requirements of this application are very basic. They are as follows:

  • Enable the user to enter a name to say Hello! to and output the string Hello< name>!.

  • Don’t let the user submit the entry form without entering a name. If he does, provide an error message to help him fill the form out correctly.

  • To add more Controller functionality (and have a bit more fun), the application should not allow the user to say hello to people they’re “not allowed” to talk to.

  • To demonstrate Model components, the application should use a Model component to save the name entered for later.

This basic application provides a little bit of functionality in all three of the Model, View, and Controller components.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required