Hi Denis,
you have HTML-comments around the JavaScript code, right?
So just delete them and it will work. It is not a Struts problem but a JSP
one.
If you want to support old browsers and include those HTML comments you must
use JSP Script to print it.
<script language="JavaScript" type="text/javascript">
<%
out.println("<!--");
%>
alert("<bean:message key="whatever"/>");
<%
out.println("// -->");
%>
</script>
Regards,
Till
- Javascript + localized messages Denis Hanson
- RE: Javascript + localized messages Till Nagel
- RE: Javascript + localized messages Denis Hanson
- Re: Javascript + localized messages Pierre M�tras

