Chain Result This result invokes an entire other action, complete with it's own interceptor stack and result. In general use just consider an example you want to perform an action immediate after execution your actual action that action need's your previous action data. But in Struts2 once the action execution is done the data is no more available. So in order to carry the data forward we use chain result type for this we need to configure chaining interceptor which will be triggered after the action is performed. But using chain is not good practice.
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
Joined: Jun 27, 2012
its really helpful..
Can you also tell me about this...
<action name="" class="" converter="" >.
i could not understand what converter do??
subject: what is the use of result type="chain" in struts 2?