Does anyone know how to pull a message out of the messages.properties file and use it as the value in a button?
For example,
messages.properties would look like:
label.search=Search
on the jsp I want:
<input type="button" value="<spring:message code="label.search"/>">
I want the button to say Search, but of course it doesn't, it says what I put in those quotes. Thoughts?
Thanks!


Reply With Quote