title: Why the values of my table is removed when I receive an ActionMessage?
body: <p>In my application users need to be able to add products to their basket. I have a page to show a description of the product once the user clicks on <code>Add</code> button it should be added to his basket, and if everything goes fine, it shows a confirmation message otherwise shows an error message.</p>
  
  <p>The problem is that, my application shows the messages correctly, but when the message has been shown the product description was removed.</p>
  
  <pre><code>&lt;table&gt;
       &lt;tbody&gt;
          &lt;tr&gt;&lt;td&gt;ID:${product.ID}&lt;/td&gt;&lt;/tr&gt;
          &lt;tr&gt;&lt;td&gt;Name:${product.name}&lt;/td&gt;&lt;/tr&gt;
          &lt;tr&gt;&lt;td&gt;Price:${product.price}&lt;/td&gt;&lt;/tr&gt;
           ......
  
           &lt;s:if test="hasActionMessages()"&gt;
               &lt;s:actionmessage/&gt;
           &lt;/s:if&gt;
  
           &lt;s:form method="GET" action="add"&gt;
               &lt;input type="hidden" name="productID" value="${prodcut.ID}"/&gt;
           &lt;s:submit value="Add"&gt;&lt;/s:submit&gt;
       &lt;/tbody&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p><strong>Result:</strong> </p>
  
  <pre><code>ID: 123
  Name: Product1
  Price: $12.2
  
  ADD
  </code></pre>
  
  <p>once <code>Add</code> button is clicked and product is added to basket</p>
  
  <pre><code>ID:
  Name:
  Price:
        Product is successfully added                 
  ADD
  </code></pre>
  
  <p>I know I can use Ajax and JavaScript, but how to show the server message?</p>