I've seen two different ways to declare taglibs in jsp files:

 

<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"; %>

<%@ taglib prefix="html" uri="/WEB-INF/lib/struts-html-el.tld" %>

 

What is the difference between referencing http://blah <http://blah/>  blah
and /WEB-INF/blah blah? Are they interchangeable? How do I know when to use
one over the other?  Also, how should they be specified in the web.xml file,
where I have also seen multiple syntaxes?

 

Thanks,

Brian Barnett

Reply via email to