You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Doyle, Michael J" <mi...@gs.com> on 2003/06/11 20:18:30 UTC
Are only Global Forwards legit for getInputForward()?
Hi,
I couldn't understand why my DynaValidatorForm was giving me a blank page
when validation failed.
I had specified "/index.jsp" as my input. I figured out that a blank page
with no other exception means Struts can't find the path it's supposed to.
I found this bugzilla ticket
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17429
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17429>
It suggests that getInputForward doesn't work, but creating a new
ActionForward with getInput as a parameter does. I tried this in an Action
class and found this to be true. But this didn't help -- Validator seems to
call getInputForward.
Well... struts-example declares a global forward "logon" and uses that as
the input for the logon page. I tried the same, it works.
So my question:
--> Must I declare a global forward and then use that as the input every
time I want to use the Validator?
Or
--> Is getInputForward() broken as suggested in the ticket?
Thanks
- Mike