• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSTL Issues  RSS feed

 
Luke Shannon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have tried to move my code to my ISP for testing.

They are using TomCat v4.1.30.

I have JSTL1.0.jar and the associated standard.jar in my WEB-INF/lib folder.

I am using the following tag line at the beginning of my JSP file (I discovered from a previous post I was using the wrong tag line for TomCat 4.X, I believe this to be the right one):
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

When I try and run the code I get the following error:
org.apache.jasper.JasperException: This absolute uri (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files

My ISP has thrown in the towel. They don't know what is causing this. I have seen this code work on my own server. A third party would like to start using the code ASAP. I don't know what to tell them. Am I at fault or is the ISP?

Does anyone have any clue what might be happening? Is there further server conf things that need to be done? Is there something that can be done in the web.xml? Am I still using the wrong tagLib?

Thanks,

Luke
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the JSTL.jar file just 21kb. I saved it under webinf/lib and i get the same error msg as Luke. What's wrong?

After adding jars to web-inf/lib? Is there something I have to do with web.xml file?
[ October 21, 2004: Message edited by: shan javan ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66208
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you also install standard.jar? There are 2 jars for JSTL, at least for the implementations I've seen. Whose are you using?
 
Luke Shannon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for the long delay.

I am using the standard.jar that I downloaded with the jstl 1.0 package.

It is 504 KB and last modified on Saturday, July 27, 2002, 6:15:14 PM
 
Luke Shannon
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This may be a problem specific to this version of TomCat.

I switch to a different ISP who has TomCat 5 installed and the code works without any issues.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!