After adding JSTL capability to my web project, I would expect the JSP editor to recognise the JSTL tags. But instead, the editor still fails to do so. All the JSTL tags are underlined with a yellow line.
Have I missed anything? I am using MyEclipse latest (just downloaded today) with eclipse 3.2.2. The JSP is a simple one that simply display all the query parameters:
<%@ taglib uri=”http://java.sun.com/jstl/core” prefix=”c” %>
<c:catch var=”error”>
Request URL = <c:out value=”{request.requestURL}”/>
<p>
<ul>
<%– For every String[] item of paramValues… –%>
<c:forEach var=’parameter’ items=’${paramValues}’>
<ul>
<%– Show the key, which is the request parameter name –%>
<li><b><c:out value=’${parameter.key}’/></b>:</li>
<%– Iterate over the values — a String[] —
associated with this request parameter –%>
<c:forEach var=’value’ items=’${parameter.value}’>
<%– Show the String value –%>
<c:out value=’${value}’/>
</c:forEach>
</ul>
</c:forEach>
</ul>
</c:catch>
<c:if test = “${not empty error}”>
<jsp:include page=”/jsp/error_handling.jsp”/>
</c:if>
Thanks
Charles