You would have to use different action mappings. E.g.
<action path="action/form1" type="myAction" name="form1" >
...
<action path="action/form2" type="myAction" name="form2" >
...
Then you'd have to dispatch requests depending on the type of form received. One of the first things you might try would be a series of if statements that tests for specific
instanceofs your different forms but this isn't ideal, especially if it's possible that new form types will be added in the future. But then again,
DTSTTCPW and
YAGNI, so if you can live with it for now...
[ April 18, 2003: Message edited by: Junilu Lacar ]