8.2. Struts Components

The Struts framework provides:

  • A servlet, known as the ActionServlet, to serve as the controller for the application, invoking actions as required and passing control to and from JavaServer Pages that make up the visible portion of the presentation layer.

  • Four custom tag libraries that provide powerful capabilities for creating JavaServer Pages:

    - The struts-html tag library provides tags useful in generating HTML.

    - The struts-bean tag library provides tags to create and access JavaBeans. Struts-bean tags can handle indexed properties, and properties that are themselves beans (nested beans). They are a superior alternative to the <jsp:useBean>, <jsp:setProperty>, and <jsp:getProperty> JSP action tags.

    - The struts-logic tag ...

Get J2EE™ and JAX™: Developing Web Applications and Web Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.