struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Dinocourt" <olivier.dinoco...@anpe.fr>
Subject Re: RE: [Fwd: Re: Hi....]]
Date Tue, 05 Feb 2002 10:07:41 GMT
I think he means that you should avoid as much as possible writing code (of
any sort : tags, scriptlets, etc...) in your JSPs, and rather put this code
in your Action classes / business logic classes

----- Original Message -----
From: "Jay Sissom" <ka9okt@home.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Tuesday, February 05, 2002 12:29 AM
Subject: Re: RE: [Fwd: Re: Hi....]]


> I don't agree.  If you need to use scriptlets in your JSPs and you use
them
> over and over on many pages, the scriptlet should be a tag.  The tag can
be
> reused on many pages, the scriptlet can't.
>
> Please explain why "This is a bad habit.  Only do it if you must."  Should
> we only re-use code "if we must"?  Is re-use of code a bad habit. :)
>
> Jay
>
>
>
> ----- Original Message -----
> From: "Vic Cekvenich" <vic@basebeans.com>
> To: <struts-user@jakarta.apache.org>
> Sent: Wednesday, January 30, 2002 2:48 PM
> Subject: [Fwd: RE: [Fwd: Re: Hi....]]
>
>
> > The thing on tags is.... do not use to many tags. Try to avoid writing
> > tags.
> > Somehow, the example app on struts has a custom tag and people like to
> > learn how to write tags, and so there are lots of tags in Struts. This
> > is a bad habit. Only do it if you must.
> > Try to do as little code as possible in presentation/view/jsp.
> >
> > So to me, tags and Struts framework are 2 different things, but bellow
> > is a good book anyway.
> >
> > Vic
> >
> > -------- Original Message --------
> > Subject: RE: [Fwd: Re: Hi....]
> > Date: Wed, 30 Jan 2002 18:49:35 +0100
> > From: "Lacerda, Wellington (AFIS)" <Wellington.Lacerda@fao.org>
> > Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > Organization: Basebeans.com
> > To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
> > Newsgroups: Struts
> >
> > Another book with a lot of information on Struts is JSP and Tag
Libraries
> > for Web Development,
> > available at Amazon and B&N. Check the publisher's page at:
> > http://www.newriders.com/books/title.cfm?isbn=0735710953.
> >
> > It is heavily focused on Tag Libraries and Struts is discussed on the
> light
> > of that.
> >
> > Wellington
> >
> > -----Original Message-----
> > From: Vic Cekvenich [mailto:vic@basebeans.com]
> > Sent: Wednesday, January 30, 2002 6:39 PM
> > To: struts-user@jakarta.apache.org
> > Subject: [Fwd: Re: Hi....]
> >
> >
> >
> > Newsgroups: Struts @ news.basebeans.com
> > References: <mailman.1012378440.11931.struts@basebeans.com>
> >
> > One Struts book at http://www.basebeans.com/book.jsp
> >
> > Amir N. Nashat wrote:
> >
> >   > Hi Chetan,
> >   >
> >   > There are no books available at this time though 2 are currently
> > being written that I know of. However, they will not be available for a
> > while. The best place to start is to go to the website
> > jakarata.apache.org and search under struts. there is A LOT of good
> > information there. Also, another very good site is www.husted.com.
> > Ted(who runs the site) is very knowledgeable in this field and posts to
> > this mailing list very often. Hope that helps.
> >   >
> >   > amir
> >   >
> >   >
> >   >
> >   >
> >   >>>>Chetan.Khimjee@za.bynx.com 10:38:51 PM 01/29/02 >>>
> >   >>>>
> >   > I'm just a newbie to Struts and find it very interesting, I just
want
> > to ask
> >   > where is it best to start learning struts from... Is there a book
out
> > there
> >   > that I can buy....
> >   > Thankz....
> >   > Chetan
> >   >
> >   > --
> >   > To unsubscribe, e-mail:
> > <mailto:struts-user-unsubscribe@jakarta.apache.org>
> >   > For additional commands, e-mail:
> > <mailto:struts-user-help@jakarta.apache.org>
> >   >
> >   >
> >   >
> >   >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:struts-user-help@jakarta.apache.org>
> >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:struts-user-help@jakarta.apache.org>
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message