Share on Google+Share on Google+

Clark
IncludeAction
1 Answer(s)      6 years and 5 months ago
Posted in : Struts

What is IncludeAction?

Ads

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
Tutorials   
Java Spring Hibernate Struts Training Dynamic tabs in struts 1.2 Unable to upload a file to mysql database using struts1 Pagination in struts 2 struts2 filterdispatcher is deprecated please use the new filters viewing How to add struts2 dependency in Maven? Struts Exception Handling can you check below code if any erors multimedia how to display the value of termcell name in label class not found exception Where to learn Struts 2? dropdown cacheing Upload and Download Large files in jsp What is Struts 2 framework struts and hibernate based health care project source code struts and hibernate based health care project source code Struts 2 Integration with Struts 1 About captcha of strut2 About captcha of strut2 Which is the good website for struts 2 tutorials? advance java source code source code In Struts 2 how to pass the Struts struts internationalization for Korean language struts2 Struts2 and Hibernate Fetch Data Base Value Struts2 and Hibernate Fetch Data Base Value Struts2 and Hibernate i want to create an application with only a button which on click displays table from database using struts2 and hibernate on eclipse Struts2 and Hibernate Struts2 and Hibernate Struts2 validation Procedure Struts2 validation Procedure Struts2 validation Procedure Struts2 validation Procedure Struts 2 action-validation.xml not loading Struts-2 and Ajax integration STRUTS QUESTION conerting web project into .exe file About Select tag ScartApplication aplicacion ecommerce struts 1.3 struts 1.3 sms prob Need to know struts1 all jar file names struts with hibernate

Ads

 
Advertisement null

Ads