struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Janarthan Sathiamurthy <>
Subject Re: How to implement OR functionality in STRUTS
Date Thu, 06 Jan 2005 21:11:25 GMT
Hi Guys,
Don't reinvent the wheel.
I am sure this AND and OR functionality is already done by Niall pemberton.
I am unable to get the link for the download though.
Janarthan S

Neil Erdwien <> wrote:
I agree that if the "..." is long, or if there are lots of them, then 
simply repeating the code is less than ideal.

On the other hand, if there are only, say, three conditions, and the 
code is three lines, then duplication isn't horrendous. We've all done 
uglier things in the push to get the job done.

Assuming JSTL is available, it provides a better solution.

Guillaume Cottenceau wrote:
> Neil Erdwien writes:
>>How about:
>> ...
>> ...
> Are you serious? When "..." is longer than say 1 or 2 lines, this
> leads to duplicated source-code, one of the thing I think
> programmers should avoid with the most energy.

Neil Erdwien,, Web Technologies Manager
Computing and Network Services, Kansas State University

To unsubscribe, e-mail:
For additional commands, e-mail:

Do you Yahoo!?
 Yahoo! Mail - Easier than ever with enhanced search. Learn more.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message