• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting error while coding tld

 
ajay vasudevan
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
dear all,

i am getting the following error while i am trying taglib directive.

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 copied jstl.jar file in /web-inf/lib folder but getting the same error.

please help me with dilemma.

ajay vasudevan
scjp 1.4
 
Mat Williams
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can you post a copy of your jsp.

This works fine for me provided I have the jar file in the /WEB-INF/lob as you said you did.
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


Mat
 
Mat Williams
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Sorry that should have read <snip> WEB-INF/lib directory</snip> not <snip> WEB-INF/lob directory</snip>

Sorry if that caused any confusion.

Mat
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic