title: How to load partial page using apache tiles with spring mvc
body: <p>I am using apache tiles for spring mvc.</p>
  
  <p>The layout looks like:
  <a href="https://i.stack.imgur.com/694yq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/694yq.png" alt="enter image description here"></a></p>
  
  <p>The tiles.xml file is :</p>
  
  <pre><code>&lt;!-- Default Layout --&gt;
  &lt;definition name="default_layout" template="/jsp/layout/default_layout.jsp"&gt;
      &lt;put-attribute name="header" value="/jsp/header_footer/top_bar.jsp" /&gt;
      &lt;put-attribute name="menu" value="/jsp/left_menu/menu.jsp" /&gt;
      &lt;put-attribute name="body1" value="" /&gt;
      &lt;put-attribute name="right_pane" value="/jsp/right_pane/right_pane.jsp" /&gt;
      &lt;put-attribute name="footer" value="/jsp/header_footer/footer.jsp" /&gt;
  &lt;/definition&gt;
  
  &lt;definition name="home" extends="default_layout"&gt;
      &lt;put-attribute name="body1" value="/jsp/home/home.jsp" /&gt;
  &lt;/definition&gt;
  </code></pre>
  
  <p>Now it is working fine, except for the scenario, when I clicked on menu then the whole page get reloaded. And I lost the section of menu where I clicked.</p>
  
  <p><strong>The menu is implemented as</strong></p>
  
  <pre><code>&lt;ul&gt;
   &lt;li&gt;&lt;/li&gt;
   ........
   ........
   &lt;li&gt;&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>So, is there any way to load the tiles partially, or any work around that I can use to fix this? </p>