0

我想点击一个网址,例如/mysite/test?do_this?execution_method

我想让这个带我去操作方法execution_method()

通过以下struts.xml操作

<action
    name="/mysite/test"
    class="com.app.test"
    method="{do_this}">
        <result name="success">/success.jsp</result>
    <result name="failure">/failure.jsp</result>
</action>

我知道上面的方法不起作用,但是我们如何让 URL 查询参数被执行呢?

4

0 回答 0