You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Richard Raquepo <rr...@primeorion.com> on 2004/02/10 12:34:03 UTC
bean:message key in javascript
i have this entry on one of my property files that show a message in korean.
error.client.register.exist=<li>너가데이타베이스안에 존재하는 이미 등록한것을 해보고 있는 전자 우편 주소!</li>
i was wondering how i can show this on the client side using html.
using this:
<script>
var msg = <bean:message key="error.client.register.exist"/>
</script>
only shows the actual number i.e. "<li>너가데....."
is it possible or is there a way that this will be converted on to the correct characters so that javascript will be able to show the actual msg.
thanks a lot.
richard