I have been trying to solve a mystery concerning EL. We are using 4 taglibs in our project:
<%-- JSTL tag libs --%> <%@ taglib prefix="fmt" uri="/WEB-INF/fmt.tld" %> <%@ taglib prefix="c" uri="/WEB-INF/c.tld" %> <%-- Struts provided Taglibs --%> <%@ taglib prefix="html" uri="/WEB-INF/struts-html-el.tld" %> <%@ taglib prefix="logic" uri="/WEB-INF/struts-logic-el.tld" %> They are working fine and respond to EL included in their tags. However, if we try to use EL outside of a tag it simply renders the EL into the HTML. ${login.fullName} appears as ${login.fullName} on the rendered page. <c:out value="${login.fullName}"/> renders as the user full name. In trying to track down why the naked EL won't work I added isELIgnored="false" to the page directive for the page and if we are not using any tags with EL in them it works. The naked EL will render what we are expecting. But as soon as we have a tag with EL in a value or other attribute the page will error on compile. I'm confused because I thought EL was active by default and it does work in our tags but not outside of any tags. Once we place the isELIgnored="false" in the page directive the EL works outside of the tags but fails when used inside some of the tags. Can some one shed some light on this mystery? Also I have heard that using EL outside of tags can be a security problem and that it is better to use a <c:out value="${EL}"/> instead. Thanks, Kurt -- Kurt Williams Marex Services [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]