If users make changes to the Struts code then they won't be able to use the
next release of Struts without re-implementing their changes in the new
source. As Jean-Baptiste said, surely the right way to do it is to add or
extend classes?

Of course, getting your changes added to the Struts codebase itself is a
different matter... ;-)

Phil.

-----Original Message-----
From: Thor Kristmundsson [mailto:[EMAIL PROTECTED]]
Sent: 04 December 2000 15:02
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



--------------------------------------------------------------------------------
This email and any files transmitted with it are intended solely for the
addressee(s) and may be legally privileged and/or confidential. If you have
received this email in error please destroy it and contact the sender, via
our switchboard on +44 (0)20 7623 8000 or via return e-mail. You should not
copy, forward or use the contents, attachments or information in any way.
Any unauthorised use or disclosure may be unlawful. Dresdner Kleinwort
Benson gives no warranty as to the accuracy or completeness of this email
after it is sent over the Internet and accepts no responsibility for changes
made after it was sent. Any opinion expressed in this email may be personal
to the author and may not necessarily reflect the opinions of the Bank or
its affiliates. They may also be subject to change without notice.
--------------------------------------------------------------------------------

Reply via email to