Hi,
In my code i am using jstl tags.
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd ");
GregorianCalendar cal = new GregorianCalendar();
String dd = sdf.format(cal.getTime());
Here i can get current date which is in (2007-05-16)Format.
<c:if test="${row.followup_date==currdate_id}">//Here i am comparing followup_date with my current date.The problem is my followup_date is in date format(YYYY-MM-DD).I am comparing this value but it will not work.Can you please tell me how can i access that value which is dd in this c:if tag. please help me.Instead of currdate_id in c:if i use 2000-05-16 hard coded the code work properly.but when i compare with the variable it won't work.please tell me.