From: "Norris Shelton" <[EMAIL PROTECTED]> > I'm trying to determine which block of HTML to output. This is > on a page that will be included by many different forms. > > <logic:equal property="stateSelection" value="SELSTATE"> > <span id="selectBox" style="display:block;"> > </logic:equal> > <logic:notEqual property="stateSelection" value="SELSTATE"> > <span id="selectBox" style="display:none;"> > </logic:notEqual> > > javax.servlet.jsp.JspException: No selector attribute > (cookie/header/name/parameter) was specified
http://struts.apache.org/userGuide/struts-logic.html#equal Your logic:equal tag is missing an attribute, either cookie, header, name, or parameter. Given that you're using 'property', you need to tell it the 'name' of the bean that has this property. (Logic tags do not default to an enclosing <html:form> bean the way the html tags do.) How about <span id="selectBox" style="display:<c:out value="${selstate}"/>"> -- Wendy Smoak --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]