Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Servlet Error !!! Can not find the tag library descriptor for "/WEB-INF/tlds/template.tld"
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Vishal Sharma
Error !!! Can not find the tag library descriptor for "/WEB-INF/tlds/template.tld"
4 Answer(s)      a year and 2 months ago
Posted in : JSP-Servlet


I am not able to fix this problem. I tried different jar files, but no luck. Is there anything else apart from adding jar files that i can try. Please suggest.


Advertisement
View Answers

July 30, 2013 at 5:06 PM


there must be problem in URI written at the top of the JSP page. Please check the URI written.



July 30, 2013 at 5:06 PM


there must be problem in URI written at the top of the JSP page. Please check the URI written.

Regards



July 31, 2013 at 1:43 AM


Thanks for reply,

<%@ taglib uri='/WEB-INF/tlds/template.tld' prefix='template' %>
<html><head><title><template:get name='title'/></title></head>
<body background='grey'>

<table>
            <tr><td><template:get name='header'/></td></tr>
            <tr><td><template:get name='content'/></td></tr>
            <tr><td><template:get name='footer'/></td></tr>
</table>     


</body></html>

This is how my code is, i dont think there is any problem with this code, may be i'm not able to provide the proper source, or missing some configuration.



July 31, 2013 at 11:01 AM


have you mentioned the same in web.xml? something like below

< taglib >

    < tlib-version>1.0</tlib-version>

    < short-name>bar-baz</short-name>

    < tag-file>

        < name>d</name>

        < path>/WEB-INF/tlds/template.tld</path>

    < /tag-file>

< /taglib>

Regards

Alok



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com