Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Difference between Forward Action and Include Action

 
samir ware
Ranch Hand
Posts: 192
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
Can anybody explain me the difference between the Forward Action and Include Action.? Thanks in advance

Regards,
Samir
 
Brent Sterling
Ranch Hand
Posts: 948
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure of the exact difference. The ForwardAction is handy when you do not need to perform any logic and just need to display a page. About IncludeAction...my "Programming Jakarta Struts" First Edition book says: "was created to make it easier to integrate servlet-based components" and goes on to say that it provides the same behavior as "using the include() method of a RequestDispatcher". I don't really know what that means but I have never had a need to use ForwardAction.

- Brent
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic