Re: [Struts2] String Comparison using s:if tag

2008-12-19 Thread Raghu
Thanks Dave... On Fri, Dec 19, 2008 at 4:22 PM, Dave Newton wrote: > > http://struts.apache.org/2.x/docs/why-wont-the-if-tag-evaluate-a-one-char-string.html > > --- On Fri, 12/19/08, Raghu wrote: > > From: Raghu > Subject: [Struts2] String Comparison using s:if tag > T

RE: [Struts2] String Comparison using s:if tag

2008-12-19 Thread Biesbrock, Kevin
Shoot. I'm gonna stop trying :P Beez ( 4961 -Original Message- From: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Friday, December 19, 2008 4:22 PM To: Struts Users Mailing List Subject: Re: [Struts2] String Comparison using s:if tag http://struts.apache.org/2.x/doc

RE: [Struts2] String Comparison using s:if tag

2008-12-19 Thread Biesbrock, Kevin
Try: user.sex.equals('M') Beez ( 4961 -Original Message- From: Raghu [mailto:techhel...@gmail.com] Sent: Friday, December 19, 2008 4:20 PM To: Struts Users Mailing List Subject: [Struts2] String Comparison using s:if tag Hi, I am trying to do String comparison in s:if ta

Re: [Struts2] String Comparison using s:if tag

2008-12-19 Thread Dave Newton
http://struts.apache.org/2.x/docs/why-wont-the-if-tag-evaluate-a-one-char-string.html --- On Fri, 12/19/08, Raghu wrote: From: Raghu Subject: [Struts2] String Comparison using s:if tag To: "Struts Users Mailing List" Date: Friday, December 19, 2008, 4:20 PM -Inline Attachme

[Struts2] String Comparison using s:if tag

2008-12-19 Thread Raghu
Hi, I am trying to do String comparison in s:if tag as below but getting number format exceptionLooks like some problem with expression... Any idea how to compare String values in s:if? Male Female [WRITE4SMILE] WARN [2008/12/16 14:57:22] | Caught an exception while evaluating expressi