gpt4 book ai didi

struts如何插入bean :write in bean:message arguments

转载 作者:行者123 更新时间:2023-12-02 15:39:17 25 4
gpt4 key购买 nike

我尝试这样做,但它不起作用。

<logic:present name="MEMBER" >
<bean:message key="member.registerConfirmation" arg0='<bean:write name="MEMBRE_REGISTER" property="firstname"/>' arg1='<bean:write name="MEMBRE_REGISTER" property="lastname"/>'/>
</logic:present>

和 bean:message 包含:

member.registerConfirmation = Congratulations {0} {1}, you are in !

最佳答案

用 bean:message 试试 EL

像这样。

<bean:message key="member.registerConfirmation" arg0='${MEMBRE_REGISTER.firstname}' arg1='${MEMBRE_REGISTER.lastname}'/>

关于struts如何插入bean :write in bean:message arguments,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10737193/

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