struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doyle, Michael J" <>
Subject Are only Global Forwards legit for getInputForward()?
Date Wed, 11 Jun 2003 18:18:30 GMT

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

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?


--> Is getInputForward() broken as suggested in the ticket?

- Mike

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message