|1600 PMP mock questions||1400 CAPM mock questions||800 SCJP 6 mock questions||600 OCAJP 7 mock questions||590 OCPJP 7 mock questions||556 SCWCD 5 mock questions||500 OCEJWCD 6 mock questions||pdfDownload (java,struts, hibernet etc)|
Struts Tutorial -- Code ExamplesIncludeAction
IncludeAction is much like ForwardAction except that the resulting
resource is included in the HTTP response instead of being forwarded to.
In the JSP which don't use struts for include we do
There are two steps involved in using the IncludeAction.
Step 1. First, in the jsp:
Step 2. Add action mapping in the struts-config.xml file:
Add the following action mapping in the struts-config.xml file:
The parameter attribute indicates the actual resource that has to be included in the response.The use of IncludeAction is limited to including responses from existing Servlet in the current page.