Hi Subbu,
Did you try bean:defining the session variable and used it as value in logic:equal's value attribute? I never tried but if doesnt work, there should be no other way i guess
I just looked into the struts source code for the implementation (EqualTag.java, CompareTagBase.java and TagUtils) and found that the value of 'value' is just taken directly and just being converted based on the object.
However, it makes sense, since these are session attributes, why dont we do the same comparison at action level and set it in the form to use it in the JSP - this should be the best way - any comments?
Have Fun with Java
little,little.. little by little makes a lot..
My Problem is Something Worst Coding. Try To Understand My Problem
I will Show Shift Details Of the employee in a select Box.
I am Getting ShiftMap and EmployeeMap(this contains shifts of employee on particular day)
I generate Select Box By Iteration ShiftMap and select the option which the employee has shift on particular day like
Iterating dates of employee
getting shift on particular day
Iteration Shift Map and generates select box
select above shift like <option value='1' selected>Gen</option>
i am using equals tag but it was not supported. Thats My Problem.Is any way to do this by using JSTL