title: Struts2 client side validation with i18n
body: <p>I have to perform some client side validation.
  The error messages should need to appear based on client language.</p>
  
  <p>Currently i have hardcoded the messages in the javascript code.
  How do i access the property files from javascript?</p>
  
  <p>Is there a better way to achieve this?</p>