View RSS Feed

Apache Jakarta

Tutorials for Apache Jakarta projects: Apache Tomcat, Apache Commons, Apache Ant, Apache Taglibs, Apache POI, Apache Velocity...

  1. Struts1 vs Struts2

    by , 02-25-2012 at 07:43 PM
    • Struts1 extends the abstract base class by its action class. The problem with struts1 is that it uses the abstract classes rather than interfaces.
    • While in Struts 2, an Action class implements an Action interface, along with other interfaces use optional and custom services. Struts 2 provides a base ActionSupport class that implements commonly used interfaces. Although an Action interface is notnecessary, any POJO object along with an execute signature can be used as an Struts 2 Action object.
    • Struts
    ...