I have plain HTML file and I want to include some JSTL tags in that, first I am trying whether this works. But somehow JSTL tags are now showing value after rendering. Here is the code:
<html
xmlns="http://www.w3.org/1999/xhtml"
xmlns:wicket="http://wicket.apache.org/"
xmlns:c="http://java.sun.com/jstl/core">
<body>
<c:set var="test" value="success" />
<c:out value="${test}"/>
</body>
</html>
And my web.xml has:
<web-app
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
id="WebApp_ID" version="2.5">
I have also added jstl-1.2.jar to my web-inf/lib folder.
Problem is I am not seeing anything on my html page. I am expecting to see "success". Any suggestions?