Yep, your colleague is right - input attribute is used to re-direct the
control if validation fails - not for Success / user defined forwards

V.K.Ram
NitroX Struts Team
 
 

-----Original Message-----
From: Carl Fyffe [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 16, 2004 4:36 PM
To: [EMAIL PROTECTED]
Subject: getInputForward() question

For the past year or so, I have been using getInputForward() and the
input attribute in the <action> to define the "default" end point for
that action.  I did that because normally there is only one tile for
the action to go to, so being lazy I wouldn't create a forward I would
just use the input to act as the default forward.

Today a colleague informed me that was a poor strategy because the
input is only for when validation fails.  Am I missusing the input
attribute?

Carl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to