Hi all,

I just noticed that there is an article talking about Struts on JavaWorld, at
http://www.javaworld.com/javaworld/jw-12-2000/jw-1201-struts.html, written by
Thor Kristmundsson, from ATG. This shows, once again, that Struts is more and
more used and recognized in the Java community.
Unfortunately, the article, IMHO, shows exactly what should NOT be done with
Struts. The MVC pattern is broken (no real form bean, controller code in the JSP
page, direct forwards to JSP pages, ...), the validation process of Struts is
bypassed and re-invented, the error management is also re-invented, and this is
done by modifying the Struts sources, instead of trying to enhancing it by
adding or extending classes.

What do you all think about it?

I personnally think that someone knowing Struts perfectly (Craig, are you
here?), should react to this article and show how all this could be done using
Struts in a smart way, and explain what the real Struts is able to do.

JB.
--
Jean-Baptiste Nizet
[EMAIL PROTECTED]

R&D Engineer, S1 Belgium
Kleine Kloosterstraat, 23
B-1932 Sint-Stevens Woluwe
+32 2 200 45 42


Reply via email to