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

MessageResources and Application.properties Files

The hello.jsp file uses the <bean:messages> tag to display a banner title and data entry prompt. Listing 3.2 presents the file where the actual text is stored.

Listing 3.2. The Application.properties File for Hello World!
 ; Application Resources for the "Hello" sample application ; ; Update History: ; ; Date Whom Action ; ======== ==== ====== ; 06/01/02 kmb Creation ; ; Application Resources that are specific to the hello.jsp file hello.jsp.title=Hello - A first Struts program hello.jsp.page.heading=Hello World! A first Struts application hello.jsp.prompt.person=Please enter a name to say hello to : ; Validation and error messages for HelloForm.java and HelloAction.java ch03.hello.dont.talk.to.atilla=I ...

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