I did something similar in our project to handle "extended properties",
which include "automatic properties" as a special case when not a single
property (and methods) is defined in the ActionForm bean. I tried extend
Struts as much as posible and had to only change BeanUtils in a similar
fashion. Details at
http://archive.covalent.net/jakarta/struts-user/2000/11/0516.xml

Kevin Wang

-----Original Message-----
From: Thor Kristmundsson [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 04, 2000 9:02 AM
To: [EMAIL PROTECTED]
Subject: RE: Article on JavaWorld


You have a point, the article doens't make use of all of Struts feature. I
was simply trying to convey the experience I got during a recent project of
using the Struts JSP tag libraries. This project didn't lend itself to using
the rest of Struts so I had nothing to report there. IMHO the methods
presented do add value to Struts and could perhaps be incorporated. I cant
see anything inherently wrong with changing the Struts code to accomodate
these features.
Thor Kristmundsson

-----Original Message-----
From: Jean-Baptiste Nizet [mailto:[EMAIL PROTECTED]]
Sent: Montag, 4. Dezember 2000 16:06
To: [EMAIL PROTECTED]
Subject: Article on JavaWorld


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