• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSTL Issues

 
Ranch Hand
Posts: 240
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 240
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 240
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic