jstl标签使用和配置

来源:转载

配置标签:
<taglib>
<taglib-uri>/WEB-INF/jUtil.tld</taglib-uri>
<taglib-location>/WEB-INF/tlds/jbasUtil.tld</taglib-location>
</taglib>

<taglib>
<taglib-uri>/WEB-INF/app.tld</taglib-uri>
<taglib-location>/WEB-INF/tlds/app.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>
<taglib-location>/WEB-INF/tlds/c.tld</taglib-location>
</taglib>
<taglib>



jsp页面里调用:
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/jUtil.tld" prefix="jutil"%>
<%@ taglib uri="/WEB-INF/app.tld" prefix="app" %>



分享给朋友:
您可能感兴趣的文章:
随机阅读: