Did you copy the tld's for the tag libraries to your web-inf directory? In addition does your web.xml have the necessary <taglib> entries in it. Example <taglib>
<taglib-uri>/c.tld</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>


Kerekes Lajos wrote:

Hello!

I am a newbie. I have downloaded the JSTL 1.0, and copied the JAR files
into the
web-inf/lib directory of my application. I use Apache Tomcat/4.1.12
under
Windows 98.
If I want to use the taglib directory
<%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
than I get the following error:
----------
type Exception report

message

description The server encountered an internal error () that prevented
it from fulfilling this request.

exception

org.apache.jasper.JasperException: null(-1,-1) This absolute uri
(http://java.sun.com/jstl/core) cannot be resolved in either web.xml or
the jar files deployed with this application
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)

at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:417)

at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154)

at
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:159)

at
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:354)
.
.
.
.
-------------
After it I tried to use the application under standard-examples.war, but
if the code
contains <%@ taglib....> I get same error page.
First I thought the problem is, that I am offline, but I get same
message when I'm online too.
What can be the problem?

Thank you in advanced:

Lajos Kerekes



--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to