title: setting and getting values in struts tiles
body: <p>tile definition what i have is : </p>
  
  <pre><code>&lt;definition name="test"  path="/t/x/test.jsp"   controllerUrl="/x/t/sController.do"&gt;
  &lt;/definition&gt;
  </code></pre>
  
  <p>this is how i use it in my jsp page : </p>
  
  <pre><code>&lt;tr&gt;        
       &lt;td &gt;
           &lt;tiles:insert definition="/test"  flush="true" &gt;
               &lt;tiles:put value="Antony" name="tileTitle" /&gt;
           &lt;/tiles:insert&gt;    
       &lt;/td&gt;      
  &lt;/tr&gt;   
  </code></pre>
  
  <p>and this is how i printed :</p>
  
  <pre><code>&lt;% 
      ComponentContext context = ComponentContext.getContext( request );
                  if (context != null)
                  {
                      String tileTitle = (String)context.getAttribute("tileTitle");
  
                      if (tileTitle != null)
                      {
  
      %&gt;
  
      &lt;tr&gt;
          &lt;td&gt;&lt;jsp:include page="/common/tab.jsp" &gt;
               &lt;jsp:param name="TAB" value=" Week '&lt;%= tileTitle%&gt;&gt;' "/&gt;
          &lt;/jsp:include&gt;
  
          &lt;/td&gt;
      &lt;/tr&gt;
  
      &lt;%
      }
       %&gt;
  </code></pre>
  
  <p>when i rung the app, i get the following exception <code>Expecting "jsp:param" standard action with "name" and "value" attributes</code></p>
  
  <p>so how do i set he value and pass it to the tiles ??</p>
  
  <p>thanks</p>