• Post Reply Bookmark Topic Watch Topic
  • New Topic

Beginner: Action Forward & Global Forward

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="/default.do" />

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?
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!