Share on Google+Share on Google+

Vishal Sharma
Error !!! Can not find the tag library descriptor for "/WEB-INF/tlds/template.tld"
4 Answer(s)      3 years and 8 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.

Ads

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:
Tutorials   
Java Spring Hibernate Struts Training fat image from db fat image from db fat image from db fat image from db unable to get value returned from javascript variable in page How to change image size before adding to mysql using jsp Design a registration.jsp page with input for user registration details Cart Quantity jsp servlet coding issue servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? servlet,jsp login registration forms without database in ecalipse ide using hashmap to store the registraion details ? image pdf marking pdf marking Multiple image upload using JSP Read code from excel sheet and upload into database using JSP Student java about search engine Convert BLOB to PDF and save it to a location how to copy files from remote to local machine using SFTP SSL in java? Like Team viewer Socket and Servert -Jsp how to copy files from remote location to local using java? How To Store Multilple Images In MySQL database dynamically with image uploader and then retrieve them in image gallery using java how to create SOAP based web service in java? how to fetch data from mysql database table and draw a bar chart on that data using in jsp how to create users in LDAP using java? how to authenticate user using TIVOLI api in java? how to create users using IBM Tivoi API in jsp/servelet? Java/J2ee Please explain this code as many packages and classes are unknown to me .! how to download the uploaded folder files using jsp Login Query image is display from path of mysql database please reply the code to store dynamic fields in database? Reloading issue in jsp How to get Button Id ? calling one jap page from another jsp page login login Problem to get connection from DAO class to JDBC Page Loading Time Fix table's column's name row(1st row of the table) so that it does not move up when the table is scrolled up to view more rows below Sending hidden values

Ads

 
Advertisement null

Ads