Struts2中从一个action内部跳转到另一个action中的指定方法(这个action中有很多方法),怎么配置xml呀? 求各位帮助 麻烦了 虽然没有财富值 但是相信各位大神会伸出援助之手谢谢
你这个也是对的谢啦哥们
你好问下 method 指定方法名为other 那就是走otheraction中的一个other方法
这里吗redirectAtion 指的是otherAction对么?麻烦你了大神
no,other 是 otheraction的一个方法是对的,redirectAtion 不是 第二个action ,我不写的很清楚吗。之间 是 另外一个 action 的 url。
比如说
otherAction.action
otherAction.action 这个 是 另外 一个 action,就像 你 表单提交时候 ,form action = "otherAction.action" 一样
谢啦大神
本回答被提问者采纳