A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Frameworks
»
Struts
Author
global forward in struts
Sreejith kayappuram
Ranch Hand
Joined: Jun 24, 2008
Posts: 35
posted
Oct 28, 2008 06:08:00
0
Hi,
i have a doubt. consider the following
struts
config entry
<global-forwards>
<forward name="failure" path="/common/jsp/error.jsp"/>
</global-forwards>
<action path="/test"
type="TestAction"
name="TestForm"
input="/jsp/Test.jsp>
<forward name="failure" path="nextpage.jsp"/>
and my action class returns mapping.finForward("failure");
my doubt is which forward will be invoked.. global or local ??
Thanks
Sreejith
Jimmy Clark
Ranch Hand
Joined: Apr 16, 2008
Posts: 2187
posted
Oct 28, 2008 07:37:00
0
Which one is being invoked in your application now?
Sreejith kayappuram
Ranch Hand
Joined: Jun 24, 2008
Posts: 35
posted
Oct 28, 2008 08:12:00
0
forgive me, actually i did n't check it...
i just want to know how global forward and local forwards are managed in struts.
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: global forward in struts
Similar Threads
Cannot Find Bean inscope null
how to determine the forward? [s1]
WSAD 5.1.2 caching jsps
Struts validation problem..
Cannot retrieve definition for form bean HtmlFileForm error??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter