Hi gurus!

  I have a problem when writing a tag library. The problem is:

  I want to get the content of a custom tag in the corresponding tag
handler, but I don't want that content is displayed in the browser. I have
written:

        <tag>
                <name>testiterationtag</name>
                <tagclass>com.mycompany.TestIterationTag</tagclass>
                <bodycontent>tagdependent</bodycontent>
        </tag>

in my tag library descriptor. And this is the extract from my JSP page:

    <%@ taglib uri="WEB-INF/testtag.tld" prefix="eg" %>
    <eg:testiterationtag>aa</eg:testiterationtag>

  I think "aa" will not be displayed. But it alway is displayed in the
browser.

  So why is it displayed? When should we use the tagdependent value in tag
library descriptor? I can't find any examples using tagdependent value.
Thanks in advance.

  Regards,
  Thai

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to