java - How to read jstl text from property file and display in jsp using jstl -
i need pull html text property file , display in jsp. im able read plain html text html text has <c:out>
s in middle , c:out
text displayed in frontend instead of out put value. sample code below.
html text in property file:
outage has been detected. expected restoral time<c:out value="${var1}"/>
i created tld file picks property .properties file. used below format pick property
<c:out value="${fnesup:pick('propertyname')}"/>
can please let me know how pull text along jstl tag , display in jsp?
the text diaplyed in page, instead of displaying <c:out>
value. please hpw cout
value while reading properties file.
have imported jstl library in jsp page?
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
Comments
Post a Comment