IncludeAction in Struts2

What is IncludeAction?

The IncludeAction class is useful when you want to integrate Struts into an application that uses Servlets. Use the IncludeAction class to include another resource in the response to the request being processed. IncludeAction included resulting resource in the HTTP response . In the JSP which don't use struts for include we do

<jsp:include page="/test/ServletA"/>
In struts JSP
<jsp:include page="/App1/" />
In the struts-config.xml
<action path="/legacyA" parameter="/test/ServletA" type="org.apache.struts.actions.IncludeAction" />

Related Topic different Type of Actions in Struts2 Struts1
Struts 1 vs Struts2 Difference Performance
What is IncludeAction in Struts
Multiple buttons in Struts using JavaScript
New in ServletRequest Interface in Struts2 2011   Privacy Policy  Terms of Service  Feedback