I have a piece of code such as: <html:form...> ... <input type="image" ... src="1.gif" onMouseOver="this.src='2.gif' ...> </html:form>
I want to externalize all the images on my application like: ...src="<bean:message key="app.img.1"/>" onMouseOver="this.src='<bean:message key="app.img.2'/>... The first resource will render, but any tag inside onMouseOver or the like, won't. I've come across a couple of solutions: 1. Declare the tag as a JSP variable and call it inside the JS. 2. Change the struts form tag to a normal HTML tag. The problem is that they both seem like hacks, and I was wondering what is the 'proper' way to do it. Thanks in advance, DX --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]