GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  Struts
Go To First  |  Previous Question  |  Next Question 
 Struts  |  Question 70 of 102    Print  
What is the difference between ForwardAction and IncludeAction?

  
Total Answers and Comments: 3 Last Update: June 09, 2008     Asked by: Rajeshwar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 12, 2006 13:35:16   #1  
goutam        

RE: What is the difference between ForwardAction and I...

ForwardAction  Provides a mechanism for forwarding to a specified URL.Whereas IncludeAction Provides a mechanism for including the contents of a specified URL.


 
Is this answer useful? Yes | No
September 21, 2006 05:28:23   #2  
subhashini        

RE: What is the difference between ForwardAction and I...

1.forward action is similar to <jsp:forward> and include action is similar to <jsp:include> in jsp

2. forward action is used to forward to control from one page to another page or action. 

include action is used to include action in another action.

U can do forwards either in two ways.

using forward action or Global forwards.

subhashini.


 
Is this answer useful? Yes | No
June 09, 2008 01:40:43   #3  
pradeepkmr18 Member Since: June 2008   Contribution: 25    

RE: What is the difference between ForwardAction and IncludeAction?
Difference in output.

ex: if we forward from one.jsp to two.jsp the contents of only two.jsp will be generated .
     if we include two.jsp in one.jsp the contents of both the jsp's will be generated

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 




About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape