I am using JSTL c:if to compare values of two properties. But i dont find any difference in the outout. some one pls help me on this. i have given the code below. If this cannot work, then i will go for adding a method to my Action Form which returns me a boolean.
Here i have a property4 in my ActionForm MyForm and some properties in the bean reperesented by collection. Now if property4 of MyForm and property2 of collection are equal then only i should draw the 'td' field. But irrespective of any condition i am getting the output. Should I use c:forEach instead of struts logic? please help me on this regard.
regards, Surendar prabu.
posted 8 years ago
Try something like this
[ March 03, 2007: Message edited by: Purushothaman Thambu ]