I am having script errors of "Error expected ')'" in IE when attempting to do the following:
alert(<%=SystemConfig.getTranslatedTextByKey(LBIBOConstants.LANG_KEY_MODIFYTIME_ALRTMISSINGA, userLocale)%> + strMessageString + <%=SystemConfig.getTranslatedTextByKey(LBIBOConstants.LANG_KEY_MODIFYTIME_ALRTMISSINGB, userLocale)%>);
I would originally like to just alert with one string added together ahead of time, but I'ved tried that with no luck either.
My guess is you can't do something like this, but I don't have many other options (the code was developed by someone else, so I understand there are better alternatives than Scriptlets).
Regardless, these strings returned by JSP expressions are found in a constants.java file, which are in turn loaded from a language package, in case you all were wondering. I have double checked these, and they are just fine.
How can I add these strings together when one value is a var within the page, and the other values are within scriptlet tags? Is it possible?