Struts中的forward在URL上直接带参数的问题?

04-08-02 shcyb2000

如<forward name="afterdelete" path="/right/operatorprocess.do?where=a" /> 运行时是正常的,但当我再加一个传入参数时,则该forward不能生效。如path="/right/operatorprocess.do?where=q&b=b

SoftBug
2004-08-02 16:22

将该forwar配置成使用redirect,而不是forward

比如:

<forward name="some_name" path="/right/operatorprocess.do?where=q&b=b
 redirect="yes"/>
<p>