Struts2: Actions and Results

Action Classes Every operation that an application can perform is referred to as an action. Displaying a Login form, for example, is an action. So is saving a product’s details. Creating actions is the most important task in Struts application development. Some actions are as simple as forwarding to a JSP. Others perform logic that […]

Continue Reading

Struts2: Starting with Struts

This article introduces Struts as a framework for rapid Model 2 application development. It starts with a discussion of the benefits of Struts and how it expedites Model 2 application development. It also discusses the basic components of Struts: the filter dispatcher, actions, results, and interceptors. Introducing Struts configuration is another objective of this article. […]

Continue Reading

Struts2: starting point

Why Servlets Are Not Dead The advent of JSP was first thought to be the end of the day for servlets. It turned out this was not the case. JSP did not displace servlets. In fact, today real-world applications employ both servlets and JSPs. To understand why servlets did not become obsolete after the arrival […]

Continue Reading