If you can identify consistent patterns in your scriptlet usage, yes.
Otherwise it's questionable. Even the division of labor is questionable case
you can't, because page designers will end up having to deal with several
different tags used once or twice among the several pages (which tag for
what in which page ?).

So, the idea is to plan in advance. Heavily.

My 2 cents.

Wellington


                -----Original Message-----
                From:   Jim Richards [mailto:[EMAIL PROTECTED]]
                Sent:   07 December 2000 02:56
                To:     [EMAIL PROTECTED]
                Subject:        design question


                As I understand it, is the basic design of struts generally
to avoid
                any direct Java code in the .jsp files, and do everything
through tags?

                And although we can so things within <% %> tags, it is not
                preferred?

                Just wondering before I embark on my project, if it's worth
including the
                design of any extra tags, or just doing the things I want in
<% %> ...


                --
                Kumera - a new Open Source Content Management System
                for small to medium web sites written in Perl and using XML
                http://www.cyber4.org/kumera/index.html

Reply via email to