Hi Everybody... My Task: Right now i am developing a web application whilch supports many languages.So i want to display the alert messages also in the language the user selects.For this, i am using pop up window,for popup window i am passing the Application resource key as an argument.
In Alert.jsp File i wrote this code <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %><br> <html><br> <body><br> <SCRIPT LANGUAGE=JAVASCRIPT><br> var keyA=window.dialogArgument<br> var out="<bean:message key='"+keyA+"'>" <br> document.write(out);<br> </SCRIPT><br> </pre><br> <input type=button value=Cancel onclick="window.close()"><br> </body><br> </html><br> But this is giving an erro "key +keyA not found in application resource I appreciate if any one can help me to complete this task sucessfully. Thanx! _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>