Hi, I've modified the code and I've added ".toString()" in the script:
<bean:message key="estadoBaja.texto1" arg0="<%=fechabaja.toString()%>"/> and it is OK!!!! Thanks, Eider Fulgencio Comendeiro, Eduardo wrote:
I have this key="<%= elemento %>" and is OK <logic:iterate id="elemento" name="bean" property="impresion" type="java.lang.String" indexId="index"> <br/><html:radio name="bean" property="opcion" value="<%= index.toString() %>" /> <bean:message key="<%= elemento %>" /> </logic:iterate> -----Mensaje original-----De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: lunes, 24 de octubre de 2005 9:49Para: Struts Users Mailing List Asunto: Re: Problems with script in JSP Hi, I think the problem is to use a scriptlet like this "<%= %>" into a tag. I don't know if exist a way to do this, but this is not the way. Eider Iturbe <[EMAIL PROTECTED] To: Struts UsersMailing List <[email protected]> es> cc:bcc: 24/10/2005 09:18 Subject: Problems withscript in JSP Please respond to"Struts Users Mailing List" Hi all! I have a problem: Tomcat can't compile next code of a JSP: <bean:define id="fechabaja" name="admisionFormBean" property="fechaBaja"/> <bean:message key="estadoBaja.texto1" arg0="<%=fechabaja%>"/> The problem is the script part: "<%=fechabaja%>". Can anyone help me, please? Thanks! Eider --------------------------------------------------------------------- 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] --------------------------------------------------------------------- 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]

