Newbie - taglib question.

This is a discussion on Newbie - taglib question. within the Weblogic forums, part of the Application Servers category; Hello, I am learning JSP - what is a difference between this 2 libraries: Thanks, Zalek...

Go Back   Unix Linux Forum > Application Servers > Weblogic

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 07-22-2008, 10:02 PM
Default Newbie - taglib question.

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

Reply With Quote
  #2  
Old 07-22-2008, 10:53 PM
Default Re: Newbie - taglib question.

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.


--
Lew
Reply With Quote
  #3  
Old 07-23-2008, 09:07 AM
Default Re: Newbie - taglib question.

zalek 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@bls.gov
http://members.cox.net/slatteryt
Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 10:53 PM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger