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 Kevin Passey <ke...@kdpsoftware.co.uk> on 2006/03/29 11:45:29 UTC
JSTL startup question
Hi - I wonder if anyone can shed any light on this.
I have started to read JSTL in action by Shawn Bayern.
I have set up Tomcat5 and mysql on my XP machine and it all works fine - so
I have my development environment.
I have downloaded and published the JSTL1.1.2 zip - and that all seems to
work fine.
I have taken the jars from the un-packed web-app and they work fine.
But..................
When I read the book - it states that I should have <%@ taglib
uri="http://java.sun.com/jstl/core" prefix="c" %>
in the page which I have and it works
But.................
In the download document (which I expect to be more up-to-date) it states
that I should have <%@ taglib uri="http://java.sun.com/jsp/jstl/core"
prefix="c" %>
(Additional jsp in the path).
And................
Only the former works...
Would anybody be so good as to comment.
Kind regards
Kevin
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
Re: JSTL startup question
Posted by Bob Arnott <bo...@aungate.com>.
Kevin Passey wrote:
[snipped...]
> Would anybody be so good as to comment.
Open standard.jar that came with JSTL1.1.2 zip, browse to the
META-INF folder and open c.tld. In there near the top you'll
see a tag <uri>http://java.sun.com/jsp/jstl/core</uri> that's
the URI to use in your JSP pages -
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
What Servlet spec are you working against...? 2.3 or 2.4...?
Cheers,
--
Bob Arnott
---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org