DispathAction example in Struts1

In this tutorial we will see how DispathAction in Struts work. What is the need of DispathAction and when we will use this struts built-in action ? When ever we want to implement a set of related functions into a single action class. We don’t want to write separate action class for each function. By using Struts […]

ForwardAction Example in Struts

In my previous hello world program we see that action class is taking the responsibility to forward the request(i.e return ActionForward type object) . Instead of writing  our action class we can use the utility class i.e special Action given by struts famework. i.e org.apache.struts.actions.ForwardAction. Let us have a small example below. we didn’t write  any FormBean […]