I'm new to Struts 2. I would like to do a very simple comparison between
Strings.
<s:if test="type == 'I'">Incident: </s:if>
<s:else>Report: </s:else>
It doesn't work as 'I' is converted to Character.
Am I mistaking something? 
Can somebody help?
-- 
View this message in context: 
http://www.nabble.com/s%3Aif-comparing-Strings-problem-tf4392447.html#a12523501
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to