You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by rayaku <ya...@nous.soft.net> on 2002/05/11 11:49:39 UTC
forwarding a request to action class from ActionForm
Hi,
I have a requirement to forward to an action (based on a user selected
information in a form)
from ActionForm, if so then how could it be?
Ex. validate(----------------){
String actionby= request.getParameter("actionFrom");
if(actionby.equals("3")){
//here i would like to forward to action2 class
// rather to compare in action1 class and forwarding form there to
action2
}
}
//validate method returns ActionErrors so is it possible to forward to
another action class.
TIA
rayaku
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>