|
Prev: FindBugs issue with transient
Next: (www.stefsclothes.com)sell t-shirt,nike adidas shoes,bape,ugg,evisu,ed-hardy,bag(paypal accept)
From: zalek on 22 Jul 2008 22:02 Hello, I am learning JSP - what is a difference between this 2 libraries: <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/core" prefix="c" %> Thanks, Zalek
From: Lew on 22 Jul 2008 22:53 zalek wrote: > I am learning JSP - what is a difference between this 2 libraries: > > <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> > > <%@ taglib uri="http://java.sun.com/jsp/core" prefix="c" %> I am not familiar with either, as I use <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> I believe that neither of the namespaces you indicate are correct. I guess the difference is in how they differ from the correct namespace. <http://java.sun.com/javaee/5/docs/tutorial/doc/bnake.html> -- Lew
From: Tim Slattery on 23 Jul 2008 09:07
zalek <zalekbloom(a)hotmail.com> wrote: >Hello, > >I am learning JSP - what is a difference between this 2 libraries: > ><%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> That's version 1.0 of the JSTL (JSP Standard Template Library). ><%@ taglib uri="http://java.sun.com/jsp/core" prefix="c" %> That's nothing, AFAICT. But http://java.sun.com/jsp/jstl.core is version 1.1 of the JSTL. It includes the "fn:" string manipulation EL functions, and works properly with servlet 2.4 containers. -- Tim Slattery Slattery_T(a)bls.gov http://members.cox.net/slatteryt |