Hi guys,
taglib directives leads to failure(ignore) of ‘Validate JSP’ operation
I observed that if a decently long jsp page (around 150+ lines, in my case) if includes a few taglib directives, leads to the Validate JSP operation to be ignored. 👿
Select JSP file –> right click [context menu] –> Validate JSP fails.
My JSP page had the following taglib directives
<%@ taglib uri=”http://java.sun.com/jstl/core” prefix=”c”%>
<%@ taglib uri=”http://java.sun.com/jstl/session” prefix=”sess”%>
<%@ taglib uri=”http://java.sun.com/jstl/string” prefix=”str”%>
<%@ taglib uri=”http://cachatto/utility” prefix=”utility”%>
<%@ taglib uri=”http://cachatto/Parse” prefix=”parse”%>
<%@ taglib uri=”http://java.sun.com/jstl/response” prefix=”res”%>
This is definitely a bug in myEclipse. The bug is probably triggered off due to the combination of the presence of many taglib directives & length of the jsp page.
I have verified that temporarily commenting out the taglib directives leads to proper functioning. However all the jsp tags are ignored. Seemingly myeclipse gets lost when it has to handle multiple taglibs.
– Deepak Kenchamba.