can anybody tell.what is the difference between Forward
Action and Action Forward?

Answer Posted / p.a.v.k.prasad

ActionForward is a return type of execute() method in the
Action class.

Based on this Actionforward the request processor dispatches
the request to corresponding page(either Success or failure).


Forwardaction:

for this we use
<forward name"success" path="success.jsp"/> it is a child
tad of <action>.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where can I get a copy of struts?

539


Is Struts Framework part of J2EE?

614


Which technologies can be used at view layer in struts?

642


What is the purpose of '@customvalidator'?

580


What is the default suffix for struts2 action uri ?

550






How is a lookup dispatch action created?

530


What is defeult result type?

625


What configurations are stored in struts configuration file ?

532


Is there a particularly good ide to use with struts?

504


Why do we need mapdispatchtoprops?

473


State the procedure for using forward attribute of link tag’s.

538


What is the need of struts?

563


What is the purpose of form-be tag in struct-config.xml?

560


Do I have to credit struts on my own website?

528


Which components are available using actioncontext map?

718