> After discussing this issues with some of the people in #java I > get mixed review on re-using actions. Are there any advantages to this? > I have a place where there are three forms which requires the user to > enter information and the three are very different. I ended up creating > three actions for them. Now, at the end I found out that there is a > summary page that display on one page with all information. I am at > point of either merging all the three actions into one that way it can > handle the summary view or write a summary action which is a duplicate of > the other three.
Why do you think you need to do that? If you have a getter getFoo() in action1 and an action getBar() in action2, that are chained like this: action1.success=action2 action2.success=some.jsp in some.jsp I can just do <ww:property value="foo"/><ww:property value="bar"/> to access these values. I see no point in merging the actions. // Anders Hovmöller ------------------------------------------------------- This SF.net email is sponsored by: Get the new Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork