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

Reply via email to