Hi Chamal,
Try

<logic:equals name="FormBeanName" property="addedDate"
value="<%=thedate %>">
 where "thedate" is a date Obj...

Best regards,
Mano



-----Original Message-----
From: chamal desilva [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 06, 2006 3:00 PM
To: user@struts.apache.org
Subject: Comparing dates

Hi,

Is it possible to compare dates with logic equals tag.

My form bean has a property called addedDate.

I need to compare it with date 2006-12-24

how should I write the equals tag

<logic:equals name="FormBeanName" property="addedDate"
value="What should I put here">

Thanking You,
Chamal.  


 
____________________________________________________________________________
________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com

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





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

Reply via email to