Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Struts IncludeAction
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Clark
IncludeAction
1 Answer(s)      4 years and 2 months ago
Posted in : Struts


What is IncludeAction?


Advertisement
View Answers

November 22, 2010 at 11:51 AM


Hi friends,

The IncludeAction class is useful when you want to integrate Struts into an application that uses Servlets. Use the IncludeAction class provides a mechanism to include the contents of a specified URL.

IncludeAction included resulting resource in the HTTP response . In the JSP which don't use struts for include we do

<jsp:include page="/pages/Servlet1"/>

In struts JSP

<jsp:include page="/AppA/hello.do" />

In the struts-config.xml

<action path="/hello"
parameter="/pages/Servlet1"
type="org.apache.struts.actions.IncludeAction" />

Thanks.



Related Tutorials/Questions & Answers:
IncludeAction
IncludeAction   What is IncludeAction
IncludeAction
IncludeAction  What is IncludeAction
Advertisements
IncludeAction
IncludeAction  What is IncludeAction
difference between ForwardAction and IncludeAction
difference between ForwardAction and IncludeAction  What is the difference between ForwardAction and IncludeAction
Advertisements
 

 

 

DMCA.com