posted 19 years ago
Hello Jeanne,
Thanks for the article. It's been just a few months since i got into patterns and stuff.so please bare with me. This is the code i found in the article.
Just my guess that Struts processor class might look like code below.
But to me it appears that the code snippet in the article has more delegation than may be struts but otherwise it does look like command pattern to me.
I mean as per code below, may be the processor knows about the receiver but it still looks quite decoupled. So whether i save a html form or try to fetch some data, i still need not know what methods action class has. I just need to call execute on that method.
Looks like i'm missing something here.