struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rayaku" <yam...@nous.soft.net>
Subject forwarding a request to action class from ActionForm
Date Sat, 11 May 2002 09:49:39 GMT
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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message