<snip>
On Fri, 18 Feb 2005 15:44:18 -0500, Rick Reumann 
> I'm wondering if you
> could do something like this in a Command...
> 
> public boolean execute(Context context) throws Exception{
> 
>         context.setAttribute("someList",someList);
> ...
> }
> 
> and then from a JSP be able to somehow have reference to this context...
> 
> c:forEach items="${handleToConntext.emloyees}"
> 
> Can you do the above?
</snip>

I would encourage people to look for an architecture that maximizes a
use of the Strategy Design Pattern:

public class DefaultSomeInterface implements SomeInterface {
    private Helper helper;

    public void setHelper(Helper helper) {
        this.helper = helper;
    }

    public void doStuff() {
         //....
         String value = helper.addOrSomething(args);
         //'....
    }
}


"You can lead a horse to water but you cannot make it float on its back."
"Heaven has changed.  The Sky now goes all the way to our feet.

~Dakota Jack~

"This message may contain confidential and/or privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based
on this message or any information herein. If you have received this
message in error, please advise the sender immediately by reply e-mail
and delete this message. Thank you for your cooperation."

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to