wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Beginner: Action Forward & Global Forward
 
Similar Threads
Global forwards in Struts modules
Error 400: Invalid path /main was requested
Unable to find setter method for attribute: locale
hi
Cannot find bean in any scope