Based on the code snippet you provided you could just define forwards on the action which match the possable values of procname.
-----Original Message----- From: lixin chu [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 11:03 AM To: [EMAIL PROTECTED] Subject: Re: dynamically add action ? I am thinking of another solution - saw people talking about action chain but do not really understand: in the page, I use url encoding to differentiate applications: ~~~~~~~~~~~~~~~~~~~~~~~~ <html:link page="/appl.do?applname=app1">Application 1</html:link> In the struts-config.xml, i define a stub action: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <action path="/process" type="com.StubAction" scope="session"> </action> Then in StubAction.java: ~~~~~~~~~~~~~~~~~~~~~~~~ String procname = request.getParameter("applname"); So from here, how can I pass control to an action which is defined based on the applname ? thanks ! __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --------------------------------------------------------------------- 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]