Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

JSTL URI problem

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am using Tomcat 5.5.20, J2SE 1.4. I am not able to run JSTL program. It is showing the 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 given taglib directive as follows in my JSP.

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

I have copied jstl.jar, standard.jar files from "jsp-examples" application to my application's lib directory. Please give me any clues.

Thanks,

Srikanth
 
Sheriff
Posts: 67619
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
Rethink the casing of your URI.
 
S Reddy
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Solved. http://java.sun.com/JSP/jstl/core
When JSP is changed to jsp (small letters) it is working. But the url is working with capital letters, so confused. Sorry for wasting your time. Thank you very much.
 
Bear Bibeault
Sheriff
Posts: 67619
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
A URL and a URI are not the same thing. Case counts!
reply
    Bookmark Topic Watch Topic
  • New Topic