title: how to write nested JSP tag?
body: <p>I write a jSP tag, like this</p>
  
  <pre><code>  &lt;m:OneToOne id="12345" concept="Book"&gt;
         &lt;m:Display&gt;
              &lt;m:Attribute name = "Book.BookId" /&gt; 
              &lt;m:Attribute name = "Book.Description" /&gt;           
         &lt;/m:Display&gt;
      &lt;/m:OneToOne&gt;
  </code></pre>
  
  <p>Its tag tld is:</p>
  
  <pre><code>&lt;taglib xmlns="http://java.sun.com/JSP/TagLibraryDescriptor"&gt;
      &lt;tlib-version&gt;1.0&lt;/tlib-version&gt;
      &lt;jsp-version&gt;1.2&lt;/jsp-version&gt;
      &lt;short-name&gt;OneToOneTag&lt;/short-name&gt;
  
      &lt;tag&gt;
          &lt;name&gt;OneToOne&lt;/name&gt;
          &lt;tag-class&gt;com.OneToOneTag&lt;/tag-class&gt;
          &lt;body-content&gt;tagdependent&lt;/body-content&gt;
  
          &lt;attribute&gt;
              &lt;name&gt;id&lt;/name&gt;
              &lt;required&gt;true&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
  
          &lt;attribute&gt;
              &lt;name&gt;concept&lt;/name&gt;
              &lt;required&gt;true&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
      &lt;/tag&gt;
  
      &lt;tag&gt;
          &lt;name&gt;Display&lt;/name&gt;
          &lt;tag-class&gt;com.DisplayTag&lt;/tag-class&gt;
          &lt;body-content&gt;tagdependent&lt;/body-content&gt;
      &lt;/tag&gt;
  
      &lt;tag&gt;
          &lt;name&gt;Attribute&lt;/name&gt;
          &lt;tag-class&gt;com.AttributeTag&lt;/tag-class&gt;
          &lt;body-content&gt;empty&lt;/body-content&gt;
          &lt;attribute&gt;
              &lt;name&gt;name&lt;/name&gt;
              &lt;required&gt;true&lt;/required&gt;
              &lt;rtexprvalue&gt;true&lt;/rtexprvalue&gt;
          &lt;/attribute&gt;
      &lt;/tag&gt;
  &lt;/taglib&gt;
  </code></pre>
  
  <p>Now, this code only will run the OneToOne Tag, ignore the inside tag. I realize that it is because of body-content value. but I don't know how to fix it ?</p>
  
  <p>Thanks</p>