Reputation: 525
I am using Weblogic version 12c and weblogic has in built JSTL support. We just need to set the URI above our JSP. I am using core taglibs using
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
in my jsp. By doing this I am able to use core functionalities like <c:out>, <c:set>, <c:forEach>
and all. But I can not print my values directly in my jsp. Currently I've to use <c:out> tag
but I want them printed directly using $
sign. i.e. ${someObject.someProperty}
- By doing so it prints as it is with dollar sign and curly braces and all, no actual values are printed.
Upvotes: 0
Views: 1971
Reputation: 539
You are mistaking the URI, on JSPs you need to use this:
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
Also you can include at the top of your taglibs to allow EL:
<%@ page isELIgnored="false" %>
Upvotes: 3