• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jsp Exception

 
Sandhya Deekonda
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I've written a jsp like

<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<html>
<head>
<title>Generate Comments</title>
</head>
<body>
<input type="text" name="subject">
</body>
</html>

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
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)

why do i get such sor t of error??can anyone tell me??
Thnaks,
Sandhya.
 
Ajith George
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems that you are missing some lib files.


JSTL requires two files "jstl.jar" and "standard.jar"

Solution: take a look under the J2EE/lib directory for jstl.jar and standard.jar

Copy them into the lib directory of web server.

Restart Server.
 
Sandhya Deekonda
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone tell me from which site i can download these jar files??
Thanks,
Sandhya.
 
Ajith George
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
u can have find these files with the Java Platform, Enterprise Edition (Java EE) SDK kit downloaded from sun's site.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ajith George:
u can have find these files with the Java Platform, Enterprise Edition (Java EE) SDK kit downloaded from sun's site.


Ajith George,
Welcome to JavaRanch!

In an effort to help everyone get the most from our forums, we've compiled a
list of tips for posting here. You can find the list in our
FAQ section here.
In particular please see:
UseRealWords


Abbreviations such as "u" or "ur" in
place of "you" and "you are" or "you're" confound language translation software making
it hard for our non-English speaking members to read your posts.
"plz" is not a word in the English language.

Again, welcome to JavaRanch and thank you for helping out.
-Ben
 
Sandhya Deekonda
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ya i got i downloaded the jar files n placed them in the lib folder of my application.Thanks alot.
 
Ajith George
Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got it Ben. Thanks for pointing out.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic