[ 
https://issues.apache.org/struts/browse/WW-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=46938#action_46938
 ] 

Tom Terrace commented on WW-3288:
---------------------------------

Take a look at http://www.mail-archive.com/[email protected]/msg66893.html 
for info on how ognl handles the single/double quote, your problem will 
probably be solved by using  <s:if test="%{test == \"1\"}">

> S:if tag is not properly working with single char value
> -------------------------------------------------------
>
>                 Key: WW-3288
>                 URL: https://issues.apache.org/struts/browse/WW-3288
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Tags
>    Affects Versions: 2.1.6
>         Environment: All
>            Reporter: Sriram Sankararaman
>
> If i am using like <s:if test="%{test == '1'}">, its always returning false 
> even if the value of test is 1. It looks like if the there is only one 
> character in the left hand side of the comparison, then there is something 
> going wrong. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to