Java Struts 1: forward from action to action. Passing data through ActionForms

前端 未结 3 1189
没有蜡笔的小新
没有蜡笔的小新 2021-02-13 09:55

We\'ve been trying to redirect from one action to another, hoping that data would be passed between corresponding ActionForm beans. The first action receives a requ

3条回答
  •  旧巷少年郎
    2021-02-13 10:18

    The way to accomplish this is to use the same actionform for both actions. Is there a specific reason why you need two different actionforms? If not try modifying the second action mapping to name="formA" and the action itself to use FormA rather than FormB.

提交回复
热议问题