Friday, April 22, 2005 10:27 AM
if both outputForm and inputForm are exactly the same. all you need to map you 2 actions to the same form. generally this is done for validation. 1 action mapping would have validate='false' (default) and the other would have validate='true'.
now your outputForm is different from the inputForm, you better off just have a viewbean defined for your output rather than have another struts ActionForm that is not going to be used by an action as intended (for form polution and validation). combining unrelated forms/beans as you suggested above will complicate your validations.
the only case that makes sense and you CAN get away with it is if you have multiple repeating fields in the form and the bean/form.