Hi all,
I'm working with a
struts 2, and I have a dto with the following information:
public class TimeActions implements java.io.Serializable {
private
String esTime;
public String getEsTime() {
return esTime;
}
public void setEsTime(String esTime) {
this.esTime = esTime;
}
}
Then in my
jsp:
<s:set name="escalar" value="%{TimeActions.esTime}"/> //the value of escalar is 'S', if I print the value ti show 'S' (this is ok)
<s:if test="%{#escalar=='S'}">
is 'S' //never show this message
</s:if>
My problem is that never show the message is 'S', and the value of escalar is 'S'.
What is wrong?
Thanks in advance, Irene.