I am linking to do the following code:
<s:if test="%{#beanVar == com.mycompany.project.NOT_REGISTERED} ">
<td>NOT REGISTRED</td>
</s:if>
where com.mycompany.project.NOT_Rector is the static field of the class:
public static final long NOT_REGISTERED == 0;
I can not find in the Struts2 documentation a way to display a constant at runtime.
Thanks in advance for your help.
PS: I would not want to use the old school design <%%>
source
share