title: Browser locale in struts2 using Java
body: <p>How do we detect browser locale in struts2? I've language drop-down in website. Now, how to detect what language user ha selected in Struts2?</p>
  
  <p>I've loginaction.java which extends AwareBaseAction, how can I detect user browser locale in loginaction.java?</p>
  
  <p>Any sample code in Java is much appreciated.</p>
  
  <p>Thanks!</p>