Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Beginner: Action Forward & Global Forward  RSS feed

Marco Vanoli
Ranch Hand
Posts: 99
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 :
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="/" />

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

PS: ON action forward,the attribute unknown="true" is only possible when i create a default action?
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!