what is ForwardAction and IncludeAction in struts?
Answer Posted / a.kranthi kumar
ForwardAction is used forward controle from one (jsp)page to another page(jsp) by follow MVC rules.
we can use this we simply configure it in struts-cinfig.xml
file. But we no need extend any class separately.
<action-mappings>
<action path="/success.do" type="org.apache.struts.actions.ForwardAction"
parameter="/success.jsp"/>
</action-mappings>
(or)
<action path="/success" forward="success.jsp">
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
What is struts and why it is used?
What is the role of action class in struts?
What do you mean by actionmapping?
What is the flow of requests in struts based applications?
Which configuration files are used in struts?
Are interceptors thread safe?
What is struts?
What is the use of token interceptor in Struts2?
Can you explain custom tag?
How is a lookup dispatch action created?
How do you create message resource?
What do struts do?
How can link tag’s action attribute be used?
What is role of actionservlet?
Can you explain the directory structure for a struts folder in brief ?