You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eric Chow <ec...@macaucabletv.com> on 2003/12/19 03:21:32 UTC

what is the defferent betwwen normal struts tag and EL tag ?

Hello,

html or html-el, bean or bean-el, etc ?????

What should be used and what is the defference ???


Eric



==========================
If you know what you are doing, 
it is not called RESEARCH!
==========================

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


Re: what is the defferent betwwen normal struts tag and EL tag ?

Posted by Derek Clarkson <dc...@waterwerks.com.au>.
On Friday 19 December 2003 15:26, Andrew Hill wrote:
> Nah mate. EL, is FAR from being a "new version". Its just an extra taglib.
> (The taglibs are like 5% of what struts does (well ok, a bit more if you
> include tiles in the equation!)). I dont even use JSP myself, so I could be
> barking up the wrong tree, but AFAIK there is absolutely nothing to stop
> you using the EL tags and the ancient tags in the same page?

Yes you can quite easily, but I would be concerned about confusion and 
possible bugs due accidentaly using the wrong tag, etc.

> I believe EL works best in conjunction with JSTL tags, and I think that
> where the old tags duplicated JSTL is whats been left out.

Correct as I undertand.

> I hear that the newest version of JSP (supported by TC5) allows use of EL
> type expressions anywhere on the page or in tag parameters (thus making the
> EL tags obsolete).

I also heard this but haven't looked at it.

BTW, This was posted by one of the struts maintainers in reply to a similar 
question I asked last week:

"......the only reason it doesn't 
ship with the other taglibs is because it requires a 2.3/1.2 container.

When a 2.3/1.2 container is in play, I do tell my own clients to prefer 
Struts EL to the conventional HTML taglib, and to prefer JSTL to the 
other Struts taglibs, when convenient. (OT: I also advice people to 
create their own JSP taglibs as needed, especially when doing so reduces 
the number of tags on a page.)

Of course, some teams are comfortable with the conventional tags and may 
choose to stay the course. As long as the Community is using the 
conventional taglibs, I'm sure they will remain available.

But, if this is a "duty now for the future" question, the answer is JSTL 
and Struts EL.

....."


cio
Derek


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


RE: what is the defferent betwwen normal struts tag and EL tag ?

Posted by Andrew Hill <an...@gridnode.com>.
Nah mate. EL, is FAR from being a "new version". Its just an extra taglib.
(The taglibs are like 5% of what struts does (well ok, a bit more if you
include tiles in the equation!)). I dont even use JSP myself, so I could be
barking up the wrong tree, but AFAIK there is absolutely nothing to stop you
using the EL tags and the ancient tags in the same page?

I believe EL works best in conjunction with JSTL tags, and I think that
where the old tags duplicated JSTL is whats been left out.

I hear that the newest version of JSP (supported by TC5) allows use of EL
type expressions anywhere on the page or in tag parameters (thus making the
EL tags obsolete).

-----Original Message-----
From: Derek Clarkson [mailto:dclarkson@waterwerks.com.au]
Sent: Friday, 19 December 2003 12:14
To: Struts Users Mailing List
Subject: Re: what is the defferent betwwen normal struts tag and EL tag
?


Hi,
Don't consider me an expert, but struts-EL is the new version of struts. It
is
designated as a seperate product at the moment because it requires a later
version of the JSP in order to be used. You will find that most people are
using it in preference to just struts.

Practical differences are that a fair chunk of the struts tags have been
removed in struts -EL, thus you cannot just flip libraries, you have to
spend
some time converting the JSP code as well. But having used both, I consider
struts-EL to be easier and more flexible. Plus the new tags from the JSTL
project give it a lot more power. Visually I also find it easy to follow in
a
JSP page because the tags are more compact.

Just my personal opinion ;-)

Derek.

On Friday 19 December 2003 13:21, Eric Chow wrote:
> Hello,
>
> html or html-el, bean or bean-el, etc ?????
>
> What should be used and what is the defference ???
>
>
> Eric
>
>
>
> ==========================
> If you know what you are doing,
> it is not called RESEARCH!
> ==========================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org

--
Regards,
Derek Clarkson

.O. Analyst/Programmer
..O Waterwerks Pty Ltd
OOO Melbourne, Australia


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



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


Re: what is the defferent betwwen normal struts tag and EL tag ?

Posted by Derek Clarkson <dc...@waterwerks.com.au>.
Hi,
Don't consider me an expert, but struts-EL is the new version of struts. It is 
designated as a seperate product at the moment because it requires a later 
version of the JSP in order to be used. You will find that most people are 
using it in preference to just struts.

Practical differences are that a fair chunk of the struts tags have been 
removed in struts -EL, thus you cannot just flip libraries, you have to spend 
some time converting the JSP code as well. But having used both, I consider 
struts-EL to be easier and more flexible. Plus the new tags from the JSTL 
project give it a lot more power. Visually I also find it easy to follow in a 
JSP page because the tags are more compact.

Just my personal opinion ;-)

Derek.

On Friday 19 December 2003 13:21, Eric Chow wrote:
> Hello,
>
> html or html-el, bean or bean-el, etc ?????
>
> What should be used and what is the defference ???
>
>
> Eric
>
>
>
> ==========================
> If you know what you are doing,
> it is not called RESEARCH!
> ==========================
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org

-- 
Regards,
Derek Clarkson

.O. Analyst/Programmer
..O Waterwerks Pty Ltd
OOO Melbourne, Australia


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