title: Struts 2 get result string in JSP
body: <p>How to get the action result string in JSP?
  I want to use the same JSP for all results.</p>
  
  <pre><code>public String doSth()
  {
      return a ? "ok" : "failed";
  }
  </code></pre>