When I change the type in the select box the key needs to be changed to "message.label2". How do I implement this correctly?
This is what I have so far:
I have changed the bean:message to the following:
This way I thought I could easyly change the property value within the jsp page. So far I haven't managed to get it working. I would appreciate any help.
<script> var message = "<bean:message key="something"/>"; </script>