Tiles and Struts

Tiles are actually shipped with Struts

Tiles and Struts code are clearly separated. In fact, Tiles can run without Struts. But using both give you interresting features, like forwarding an action to a tile's definition. Following is a list of actual modifications :

Tile Action Servlet
  • Add a "processForward" method.
  • Purpose : be able to subclass servlet, and override the forward mechanism.
  • Needed if you want to forward to a definition in struts-config.xml.
  • A ready to run servlet is provided.
text tag
  • Not mandatory, can be omitted if not used
  • Add a "prefix" attribute.
  • Purpose : be able to add a prefix to the name of generated input tag. This modification is not mandatory. It is only useful in some examples.