
I am seeking your help in solving problem I am facing. The problem has been described below:
I am using JSTL1.1 core tag in my jsp. In order to use JSTL in my JSP I had written below code for pointing JSTL core tag
<%@taglib prefix="c" uri="/WEB-INF/core-rt" %>
I have placed jstl.jar and standard.jar of jakarta-taglibs-standard-1.1.2 version in
WEB-INF/lib/ folder in my local machine.
Also I have placed c-rt.tld in
/WEB-INF/ folder.
My web.xml code is:
<taglib-uri>/WEB-INF/core-rt</taglib-uri> <taglib-location>/WEB-INF/c-rt.tld</taglib-location>
I used c:set, c:forEach, c:if, c:out tags as part of my jsp to dsplay data to. But I couldnt able to display data i.e my JSP is not displayig with values.
When I used
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
My JSP is working fine.
I am using Netbeans 6.9.1 Id with Glassfish server 3 for my development.
But I want to use relative path in my JSP.
Could any one let me know the solution for this. At the same time let me know the risk of using absolute path (uri="http://java.sun.com/jstl/core")as URI.