tags:

views:

599

answers:

1

I've been having the following problem with my GoDaddy's server. I am using JSPs with the JSTL Library. My /WEB-INF/lib folder contains the following libraries:

jstl.jar standard.jar

My JSP looks something like this:

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<p>Hello!   <%
out.print(System.getProperty("java.class.path")); 

%></p>

But I keep getting the following exception:

org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application

Any ideas as to why it is doing that?

Thanks

+1  A: 

You need to get the right version of JSTL, they use different URIs.

If that one's not working, try: http://java.sun.com/jstl/core (JSTL 1.0), or pull down the 1.1 JSTL jars.

There's a more detailed list of versions/URIs at javaranch.

Brabster