You can't mix static text and a <%= %> in the same attribute value. Here is the solution:
property="<%= "popupSrc" + p2 %>" -Max ----- Original Message ----- From: "Daniel Lipofsky" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 24, 2004 4:24 PM Subject: expanding <%=...%> In the JSP below, <%=p1%> will expand the way I expect. But <%=p2> does not. Does anyone know why and how to fix it? Using HTML-EL is not a good option because my real case uses custom tags that extend the HTML taglib. <%@ taglib uri="struts-html" prefix="html" %> <html:form action="/TransactionListLoad"> <% String foobar = "FooBar", p1 = "popupSrcForm", p2 = "Form"; %> <html:text property="<%=p1%>" value="<%=foobar%>"/> <html:text property="popupSrc<%=p2%>" value="<%=foobar%>"/> </html:form> Thanks, Dan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

