What are the difference between <%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %> and the one without "rt"? Sometimes when I remove "rt" the JSP won't compile, what is the reason?
Unless you are using a very old version of JSP (JSP 1.2 or 1.1 to be exact) you shouldn't be using either of those. Those are JSTL 1.0 URIs and are not suited to modern versions of JSP.
Unless you are using a very old version of JSP (JSP 1.2 or 1.1 to be exact) you shouldn't be using either of those. Those are JSTL 1.0 URIs and are not suited to modern versions of JSP.
you can instead use <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> even this will work
No comments:
Post a Comment