巨分求关于struts2如何从一个action中跳转执行另一个action中的一个方法,如何传参?

2025-02-23 07:51:12
推荐回答(4个)
回答1:




moneyType_searchAllTypes?user1=${user1}& amp;user2=${user2}



大概是这样的,多个参数用& amp;隔开,把空格去掉

回答2:




moneyType_searchAllTypes?us

回答3:

你的result标签里的type属性值改为redirectAction,后面写你要跳转的方法。

回答4:

Action名称!action中的方法.action