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 Aspects of the Servlet Context

This section provides information about the following tags:

  • <bean:cookie>— Accesses a previously written cookie

  • <bean:header>— Accesses information in the request header

  • <bean:parameter>— Accesses a form parameter

  • <bean:page>— Accesses information stored in a page, request, session, or application object

If you point your browser to the URL

http://myAppServer/StrutsTaglibs/bean.jsp

you’ll bring up the main page linking to all the sample code for the Struts tag chapters. This section uses the Bean Servlet page at /StrutsTaglibs/BeanServlet.do. The rendered page is shown in Figure 13.2. See the Note on page 269, for details.

Figure 13.2. The Bean Servlet page.

This page ...

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