In the Struts 2 project, review the message resource section below:
export.filename.accountsummary=customer ${export}
The action has export served with the installer and the receiver. If you call getText("export.filename.accountsummary") , then the struts automatically call getExport() and fill it with the correct value. (I think struts use OGNL, also look at resource messages that support ${} ). Is it correct?!
I am trying to use customer ${#sessionScope.CurrentUser.userName} expected struts to use this OGNL expression, but it did not work.
jsp el struts2 resourcebundle ognl
Alireza Fattahi Sep 05 '15 at 9:12 2015-09-05 09:12
source share