Java: View Technologies and Frameworks - Apache Struts

Apache Struts

  • Struts provides for a decoupling of the Controller and the View.
  • Requests are received by a Java Class (Controller) which can decide which View to display.
  • The actual View can be written in different view technologies, like JSP, free marker template, velocity template etc.
  • An XML configuration file is used to specify the "Page Navigation", i.e. the flow of the request to the appropriate Controller, and which View to display based on the outcome of the Controller.
  • Competitor: Spring MVC, Grails

Read more about this topic:  Java: View Technologies And Frameworks

Famous quotes containing the words apache and/or struts:

    The Apache have a legend that the coyote brought them fire and that the bear in his hibernations communes with the spirits of the “overworld” and later imparts the wisdom gained thereby to the medicine men.
    —Administration in the State of Arizona, U.S. public relief program (1935-1943)

    Out, out, brief candle!
    Life’s but a walking shadow, a poor player
    That struts and frets his hour upon the stage
    And then is heard no more. It is a tale
    Told by an idiot, full of sound and fury,
    Signifying nothing.
    William Shakespeare (1564–1616)