struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Huber <gregh3...@gmail.com>
Subject dumb question
Date Thu, 18 Oct 2018 10:43:58 GMT
Sorry if this is a dumb question, but why does a single char string check
not work?  Am I missing something?

this works:
public String getSelect() {
        return "az";
}
<s:if test="select == 'az'">
</s:if>

this does not:
public String getSelect() {
        return "a";
}
<s:if test="select == 'a'">
</s:if>

Cheers Greg

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message