title: Struts ActionMessage
body: <p>Hi I have a struts 1.X app, and in order to show errors detected in an action class, I use:</p>
  
  <pre><code>errors.add("Error Global", new ActionMessage("some_string_in_properties_file"));
  </code></pre>
  
  <p>Which works just fine. </p>
  
  <p>My problem is that now the string I need to send to the jsp page as error has a session variable in it (like "You have 3 more valid attempts", being 3 the session variable).</p>
  
  <p>How can I accomplish this ?</p>
  
  <p>Thanks.</p>