wood burning stoves 2.0*
The moose likes JSP and the fly likes The absolute uri problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "The absolute uri problem" Watch "The absolute uri problem" New topic
Author

The absolute uri problem

John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192
Hi,

I have a jsp with code


When i run, i get the following error
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

I have standard.jar and jstl.jar in the WEB-INF/lib

what can be the problem please help

thanks
[ April 03, 2007: Message edited by: John Lincoln ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

web-inf or WEB-INF?

If the former, it needs to be uppercase. If the latter, please read this.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192
Hi,

Thanks for the response, it is capital "WEB-INF". I have read your link and will take care from next post.

Can you please provide few pointers how to get over the problem i am facing.

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

You should also go back and fix your first post so others don't ask the same question.

Which version of the JSTL jar's did you place in WEB-INF/lib? The URI you specified is for JSTL 1.1. It's different for JSTL 1.0.
John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192
Bear,

I have edited the post.

I copied the jstl 1.1 jars (jstl.jar, standard.jar) and tried and got the same error

I changed the directive to fit 1.0 version, copied the 1.0 jstl and standard.jar and got the same error, that the absolute uri cannot be resolved

Is there something else ican try...

Please Help

thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Are you sure that the web app structure is sound? It should be as simple as dropping in the jars.

What version of Tomcat?
John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192
Hi,

Yes, i am adding the jars to the lib directory. I am using Tomcat 5.5

Thanks
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60774
    
  65

Are you absolutely, 100% sure that you are using the JSTL 1.1 jar files? Open the jars and look to make sure that the URI in the TLD files match the JSTL 1.1 URIs.
John Lincoln
Ranch Hand

Joined: Feb 11, 2003
Posts: 192
Hi

For 1.1


For 1.0 core


[/code]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The absolute uri problem
 
Similar Threads
The absolute uri cannot be re
Problem accessing the standard tag lib.
JSTL not executing
uri Error in taglib directive
JSTL Error cannot be resolved