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 Beginner: Action Forward & Global Forward Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Beginner: Action Forward & Global Forward" Watch "Beginner: Action Forward & Global Forward" New topic
Author

Beginner: Action Forward & Global Forward

Marco Vanoli
Ranch Hand

Joined: Jan 12, 2005
Posts: 99
Hi,
I am following a Tutorial to begin use Struts.
I have to make an automatic <logic:forward name="welcome"/> to a deep tree folder file.(/jsp/index.jsp)

Than i create an Global Forward :
<forward
name="welcome"
path="/jsp/index.jsp" />

So it works but the tutorial i follow make a different step. It crate an action forward
<action forward="/jsp/index.jsp" path="/default" />
and then the Global forward :
<forward name="welcome" path="/default.do" />

So what are the logic differences between the two aprroach?
Thankyou,
Bye Marco

PS: ON action forward,the attribute unknown="true" is only possible when i create a default action?


bye, <br />Marco
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Beginner: Action Forward & Global Forward