Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Comparing two bean values using logic:notEqual

843835Jun 23 2003 — edited Jun 23 2003
If 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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 21 2003
Added on Jun 23 2003
5 comments
745 views