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

Using Struts Bean Tags That Access Java Resources

This section provides information about the following tags:

  • <bean:message>— Displays an internationalized message

  • <bean:resource>— Loads a Web application resource as a bean

  • <bean:struts>— Accesses the internal configuration of Struts

  • <bean:include>— Gets the response from a Web application request

This section uses the Bean Resources page at /StrutsTaglibs/BeanResources.do. The rendered page is shown in Figure 13.3.

Figure 13.3. The Bean Resources page.

This page demonstrates a typical use of each of the tags. The source is shown in Listing 13.2.

Listing 13.2. JSP File Demonstrating Use ...

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