DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30780>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30780 JSTL tags don't work for jsp (xml) documents Summary: JSTL tags don't work for jsp (xml) documents Product: Tomcat 5 Version: 5.0.27 Platform: PC OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Jasper AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi, JTSL tags don't work as expected in an xml formatted jsp file. e.g. my page starts off <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" xmlns:jsai="/tld/jsai" xmlns:spring="/spring" xmlns:c="http://java.sun.com/jsp/jstl/core" > the http://java.sun.com/jsp/jstl/core namespace is bound to c: as a prefix later in my document I have: <spring:bind path="searcher.itemVendor"> <c:if test="${status.error}"><font color="red">${status.errorMessage}</font></c:if> </spring:bind> This doesn't work unless I enter it as: <spring:bind path="searcher.itemVendor"> <c:if test="${status.error}" xmlns:c="http://java.sun.com/jsp/jstl/core"> <font color="red">${status.errorMessage}</font></c:if> </spring:bind> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
