Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!

  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in TLD  RSS feed

Sree kanth
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me.....
My tld file is showing the following error

Error: 500
Internal Servlet Error:

org.apache.jasper.JasperException: Unable to open taglibrary ATMjsp.tld : More than one taglib in the TLD
at org.apache.jasper.compiler.JspParseEventListener.handleDirective(
at org.apache.jasper.compiler.DelegatingListener.handleDirective(
at org.apache.jasper.compiler.Parser$Directive.accept(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.Parser.parse(
at org.apache.jasper.compiler.Compiler.compile(
at org.apache.jasper.runtime.JspLoader$
at Method)
at org.apache.jasper.runtime.JspLoader.loadJSP(
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(
at org.apache.jasper.runtime.JspServlet.serviceJspFile(
at org.apache.jasper.runtime.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.tomcat.core.ServiceInvocationHandler.method(
at org.apache.tomcat.core.ServletWrapper.handleInvocation(
at org.apache.tomcat.core.ServletWrapper.handleRequest(
at org.apache.tomcat.core.Context.handleRequest(
at org.apache.tomcat.core.ContextManager.service(
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(
This is my .jsp file

<%@ page import="ATMTag" %>
<%@ taglib uri="ATMjsp.tld" prefix="ATMjsp" %>
<%@ page errorPage="errorpage.jsp" %>
<!DocType HTML Public "-//W3C//DTD HTML 4.0 Translational//EN ">

<BODY bgcolor="#fffffr">
<H3 align=center> ATM counters that need Cash</H3>
And this is my .tld

<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "">
<INFO>A Tag library for the ATM details</INFO>
<INFO>Outputs of the ATM counter</INFO>

How can i solve the problem
[ February 02, 2005: Message edited by: Bear Bibeault ]
ramprasad madathil
Ranch Hand
Posts: 489
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the element names are case sensitive in your tld file

and so on.

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!