gpt4 book ai didi

java - 如何将随机查询参数添加到操作的成功响应中

转载 作者:行者123 更新时间:2023-11-28 23:39:07 25 4
gpt4 key购买 nike

I have declared an action into struts action mapping area. we want to add random query parameter onto success.jsp page.is it possible like /home/success.jsp?id=10000

        <action path="/Signup" name="signupForm" type="signup.SignupAction"
validate="true" input="/home/signup.jsp" scope="request">
<forward name="login" path="/home/success.jsp" />
<forward name="error" path="/home/signup.jsp" />
</action>

最佳答案

我首先要尝试的是:

<forward name="login" path="/home/success.jsp?id=<%=id%>" />

<forward name="login" path="/home/success.jsp?id=${id}" />

关于java - 如何将随机查询参数添加到操作的成功响应中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21678082/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com