• 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 - abolute uri cannot be resolved

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Id like to know why i get this wen i compile:
"This absolute uri http://java.sun.com/jsp/jstl/core_rt cannot be resolved in either web.xml or the jar files deployed with this application"

My JSTL is 1.0, J2EE is 1.3

My web.xml
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app id="WebApp">
<taglib>
<taglib-uri>http://java.sun.com/jsp/jstl/core_rt</taglib-uri>;
<taglib-location>/WEB-INF/lib/jstl.jar</taglib-location>
</taglib>
...</web-app>

My JSP has the directive:
<%@ taglib uri= "http://java.sun.com/jsp/jstl/core_rt" prefix="c" %>

standard.jar and jstl.jar are in /WEB-INF/lib and i have no TLDs inside WEb-INF
I tried using core instead of core_rt but it still doesnt work

Wat am i doing wrong? Do i need to add entries in web.xml and my jsp for standard.jar?
[ January 23, 2008: Message edited by: Bear Bibeault ]
 
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
Check your URI. It's incorrect.
 
Janani Ramanan
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry sheriff, i cant get wats wrong with "http://java.sun.com/jsp/jstl/core_rt"

Like i said, i used "http://java.sun.com/jsp/jstl/core" also but dint work.
I saw sumwhere tat for JSTL1.0 one must use core_rt...
 
Bear Bibeault
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
You're not going to find out what's wrong just by looking at it. A google search for "jstl 1.0 uri" listed hundreds of places where the correct URIs are shown.
 
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
[Post removed. Please PM or email me to find out why]
[ January 23, 2008: Message edited by: Bear Bibeault ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic