Hans,
I have provided the taglib directive in the jsp page. And since the JSP compiler
is not giving any errors means it finds the TLD file successfully to do the
syntax
checking for the tags on the same page. But there is no output from the Tag
handler class at runtime.
Any other possible problems in this scenario?
Thanks a lot.
Anurag
Hans Bergsten <[EMAIL PROTECTED]> on 08/11/2000 01:06:19 AM
Please respond to A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Anurag Gaur/AmericanRe)
Subject: Re: Custom tag classes problem
Anurag Gaur wrote:
>
> Hi,
> I have created a custom tag library to be used in an application running on
> Tomcat.
> As per the directions, in 'Web Development with JavaServer Pages' by Fields
and
> Kolb,
> I have moved the JAR file containing the tag handlers in WEB-INF/lib
directory.
> The deployment descriptor (web.xml) and the TLD file are in there respective
> places.
>
> The problem is Tomcat compiles the jsp page correctly and renders the jsp
page,
> but the result of the tag in this jsp file is not showing. Assuming Tomcat is
> not able to locate
> the Tag implementation classes, I moved them under WEB-INF/classes package
> directory.
> Still I don't see the content substitution from custom tags when the jsp page
is
> rendered by Tomcat.
>
> Any help on this is appreciated.
It sounds like you didn't include a taglib directive to declare the taglib
in the page. If you forget this, all custom action elements are treated as
template data. In other words, just included in the response as is.
Hans
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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