Comparing two bean values using logic:notEqual
843835Jun 23 2003 — edited Jun 23 2003If value1 of a bean is not equal to value2 of the same bean I want to display a hyperlink on the page. I was thinking of using logic:notEqual but this seems to only compare a bean attribute to a constant value. On
page 289 of 'Struts in Action' it seems to suggest it can be done in combination with a bean:define but I can't seem to get it to work. Can anyone show me the correct way of comparing two bean values in jsp?
Thanks,
Richard.