tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: OT: URL Rewrite and Tag Libs
Date Tue, 29 Jan 2002 15:29:31 GMT

On Tue, 29 Jan 2002, Wolfgang Röckelein wrote:

> Date: Tue, 29 Jan 2002 10:49:16 +0100
> From: Wolfgang Röckelein <>
> Reply-To: Tomcat Users List <>
> To: Tomcat Users List <>
> Subject: Re: OT: URL Rewrite and Tag Libs
> Hi,
> "Craig R. McClanahan" wrote:
> > Transparent URL rewriting is one of the things that the struts-html tag
> > library in Struts does for you.  You can use the tag libraries without
> > using the entire application framework (although you'd be well advised to
> > look at using that as well).

(It's clear if you read the Struts docs but might not be if you only read
this mail thread - I am the primary author of Struts, as well as spending
my "day job" time working on Tomcat.)

> Reading that I took a look on the struts tag libs. I noticed that some
> of them in part duplicate efforts from the JSTL.

The Struts tag libraries preceded the JSTL effort.  They have also had a
significant positive impact on the development of the JSTL tags themselves
(I'm on the JSR-52 expert group that is developing JSTL).

> Is there already a
> undertanding how to use Struts and the JSTL together?

Sure ... just use them together.  There is no restriction on how many
different tag libraries you can use.  Both libraries can talk to arbitrary
JavaBeans underneath, so the same beans can be accessed by tags from
either library.

Over time, Struts will encourage users to migrate to JSTL (and JavaServer
Faces, which it also preceded), but we will continue to support the
existing tag libraries for quite a long while -- there are large numbers
of applications built on these APIs in the world, and it would be
unreasonable to force them to change.

One other consideration for JSTL - it requires a Servlet 2.3 / JSP 1.2
environment (such as Tomcat 4), while Struts also runs fine on any server
supporting Servlet 2.2 / JSP 1.1.  That will matter less and less over
time, as more server vendors update their servlet and JSP support to the
newer specifications.

> Greetings,
>   Wolfgang

Craig McClanahan

To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message