tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <mfncoo...@gmail.com>
Subject Re: combining tags
Date Wed, 06 Jul 2005 17:25:30 GMT
On 7/6/05, Wendy Smoak <java@wendysmoak.com> wrote:
> From: "Tom Holmes Jr." <tom@tomholmes.net>
> 
> > I have no idea if it is a JSP Container 2.0 or not.  I can tell you that
> > we are using IBM Websphere 5.1.x Portal Server.
> 
> A quick Google search didn't turn up the info-- I'm trying to determine
> which version of the Servlet specification it implements.  My comment was
> merely that if it's Servlet 2.4/JSP 2.0, you probably would have written
> ${data.roomType}
> instead of <c:out value="${data.roomType}"/>.  Not that you wouldn't use
> *any* <c:xxx> tags.
> 
> So, let's assume Servlet 2.3/JSP 1.2 for now.

That would be the correct assumption. ;-) WebSphere 5.x is Servlet
2.3/JSP 1.2, while WebSphere 6.x is Servlet 2.4/JSP 2.0.

> > And we are using Struts.   My boss has told me at one point that he'd
> > wanted to start using JSTL tags more then the older JSP Tag Libraries.
> > To me, that means using more of the <c:?> tags, but we still need to use
> > html:? tags.
> 
> My point was that if you're going to add JSTL to a Struts project, you might
> also want to move to Struts-EL in order to gain the ability to use
> expressions within the Struts tags, as well as the JSTL-awareness so that
> indexed properties will work within an enclosing <c:forEach> loop.
> http://struts.apache.org/faqs/struts-el.html

Yep, you'll definitely want to move to the Struts-EL tags. It could
get quite confusing, trying to use the RT tags while you're using JSTL
elsewhere.

--
Martin Cooper


> --
> Wendy Smoak
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
> 
>

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


Mime
View raw message