I am using Servlet engine 2.4. What will be the different advice?

My web.xml looks something like this
<!DOCTYPE web-app
 PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
 "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>

<web-app>
...................
............
</web-app>

is it right one?
In the forums I am seeing that it should be different one for JSTL 1.1 to work.

Where can I get that web.xml from?

Thanks.


From: Wendy Smoak <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
To: Struts Users Mailing List <user@struts.apache.org>
Subject: Re: struts and JSTL
Date: Sun, 4 Dec 2005 17:41:17 -0700

On 12/2/05, fea jabi <[EMAIL PROTECTED]> wrote:

> using struts 1.2.7
>
> Used c tags in my jsp and also gave this
> <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
...
> in web.xml
>   <taglib>
...
>
> thinking one of the jars in it will have the JSTL stuff. Which ar has the
> JSTL stuff in it?
>
> Where can I get the tld's for these.

If you're on Servlet 2.3 (Tomcat 4.x), then you'll find what you need
under the 'contrib' directory of your Struts 1.2.7 distribution.  It
contains "Struts-EL" and includes a JSTL 1.0 implementation.

If you're on Servlet 2.4, then the advice is different.

In neither case do you need to configure the tlds in web.xml.

--
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to