File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Difference between Forward Action and Include Action Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Difference between Forward Action and Include Action" Watch "Difference between Forward Action and Include Action" New topic
Author

Difference between Forward Action and Include Action

samir ware
Ranch Hand

Joined: Jul 27, 2005
Posts: 192
hi,
Can anybody explain me the difference between the Forward Action and Include Action.? Thanks in advance

Regards,
Samir
Brent Sterling
Ranch Hand

Joined: Feb 08, 2006
Posts: 948
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between Forward Action and Include Action