You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Chris Gow <sn...@rogers.com> on 2004/11/03 14:40:10 UTC

taglib uri

Hi:

I noticed in the application documentation that distributed with the 1.1 that 
the URI I am supposed to define in my JSP page is 
http://java.sun.com/jsp/jstl/core. However, in order to get jstl to work 
correctly, I had to use http://java.sun.com/jstl/core (note that the jsp part 
has been removed).

I'm a little puzzled. Which is incorrect and why?

thanks


-- chris

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


Re: taglib uri

Posted by Felipe Leme <ja...@felipeal.net>.
On Wed, 2004-11-03 at 11:40, Chris Gow wrote:
> I'm a little puzzled. Which is incorrect and why?

Both are correct: the jsp/jstl/xxx must be used on JSTL 1.1/JSP 2.0,
while the jstl/xxx must be used on JSTL 1.0/JSP 1.2.

There is a reason, I think, is backward-compatibility (I'm not sure,
thought).

-- Felipe


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


Re: taglib uri

Posted by Big Chiz <bi...@gmail.com>.
for JSTL 1.1/JSP 2.0 on tomcat, you dont need to define the tld on
your web.xml so using the uri jsp/jstl on your jsp pages would be
fine. also notice in the web.xml use below

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">

instead of

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">



On Wed, 3 Nov 2004 08:40:10 -0500, Chris Gow <sn...@rogers.com> wrote:
> Hi:
> 
> I noticed in the application documentation that distributed with the 1.1 that
> the URI I am supposed to define in my JSP page is
> http://java.sun.com/jsp/jstl/core. However, in order to get jstl to work
> correctly, I had to use http://java.sun.com/jstl/core (note that the jsp part
> has been removed).
> 
> I'm a little puzzled. Which is incorrect and why?
> 
> thanks
> 
> -- chris
> 
> ---------------------------------------------------------------------
> 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