title: struts tag for button call Action
body: <p>Just wondering if anyone has ever seen or written a customer tag to call Struts2 Actions.</p>
  
  <p>What I'm looking for is something like this:-</p>
  
  <pre><code>&lt;s:button value="Click Me!" action="thisIsMyAction" &gt;
      &lt;s:param name="productId" value="%{productId}" /&gt;
      &lt;s:param name="userId" value="%{userId}" /&gt;
  &lt;/s:button&gt;
  </code></pre>
  
  <p>So that then in the Action you have </p>
  
  <pre><code>public String thisIsMyAction() {
  
     String productId = getServletRequest.getParameter("productId");
     String userId= getServletRequest.getParameter("userId");
  
     // Do some stuff here.
  
     return SUCCESS;
  }
  </code></pre>
  
  <p>Reason being, we don't alays want to use href or images and we're not always submitting a form.</p>
  
  <p>Cheers in advance</p>