Currently I encounter a difficulty in resolving the JSTL tag in the JSP page, such as using <c:xxxx, it always complains about the run time expression ${status.value}.
As someone suggested I should have the right way to implement the JSTL. I need the help to setup the following files:
1) Under the /WEB-INF/ path, I put the file
c.tld 1.1
2) In the web.xml, I entered:
<taglib>
<taglib-uri>/WEB-INF/c</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>
3) In the JSP page, I entered:
<%@ taglib uri="/WEB-INF/c.tld" prefix="c" %>
What could be wrong, missing, and how to correct them?
Thanks.


Reply With Quote