Z
zalek
Hello,
I am trying to execute on a JSP program on a server with jakarta-
tomcat-4.1.29.
Here is a program:
<%@ taglib uri="testTagURL" prefix="testTagPrefix" %>
<testTagPrefix:myFirstTag/>
in web.xml I have definition:
<taglib>
<taglib-uri>testTagURL</taglib-uri>
<taglib-location>/WEB-INF/tld/testTag.tld</taglib-location>
</taglib>
I have testTag.tld file located at: /WEB-INF/tld
When I execute my program I am getting:
org.apache.jasper.JasperException: File "/test-jsp/testTagURL" not
found
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:
105)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:
430)
at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:
154)
at org.apache.jasper.compiler.TagLibraryInfoImpl.
(TagLibraryInfoImpl.java:180)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:
354)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381)
My question: how my program is looking for "/test-jsp/testTagURL" and
not for "/WEB-INF/tld/testTag.tld"?
Thanks,
Zalek
I am trying to execute on a JSP program on a server with jakarta-
tomcat-4.1.29.
Here is a program:
<%@ taglib uri="testTagURL" prefix="testTagPrefix" %>
<testTagPrefix:myFirstTag/>
in web.xml I have definition:
<taglib>
<taglib-uri>testTagURL</taglib-uri>
<taglib-location>/WEB-INF/tld/testTag.tld</taglib-location>
</taglib>
I have testTag.tld file located at: /WEB-INF/tld
When I execute my program I am getting:
org.apache.jasper.JasperException: File "/test-jsp/testTagURL" not
found
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:
105)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:
430)
at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:
154)
at org.apache.jasper.compiler.TagLibraryInfoImpl.
(TagLibraryInfoImpl.java:180)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:
354)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381)
My question: how my program is looking for "/test-jsp/testTagURL" and
not for "/WEB-INF/tld/testTag.tld"?
Thanks,
Zalek