Posted on 2004-10-18
I include an external JS file for my struts JSP.
How i can specify <bean:message key="blah.blah"/> (Application Resources messages) for my JS alert and confirm Texts !?
At present, i have only direct german messages in the alert JS function. However if my project is internationalized, i will need english texts there.
Should i pass the <bean:message key="blah.blah"/> as arugument for the JS function i am calling from my JSP !? If yes, please tell me how it should be ?