aspose file tools*
The moose likes JSP and the fly likes Jsp Exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Jsp Exception" Watch "Jsp Exception" New topic
Author

Jsp Exception

Sandhya Deekonda
Ranch Hand

Joined: Dec 18, 2006
Posts: 34
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

Joined: Dec 22, 2005
Posts: 109
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.


SCJP 1.4, Brainbench
LinkedIn - Blog
Sandhya Deekonda
Ranch Hand

Joined: Dec 18, 2006
Posts: 34
Can anyone tell me from which site i can download these jar files??
Thanks,
Sandhya.
Ajith George
Ranch Hand

Joined: Dec 22, 2005
Posts: 109
u can have find these files with the Java Platform, Enterprise Edition (Java EE) SDK kit downloaded from sun's site.
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

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


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Sandhya Deekonda
Ranch Hand

Joined: Dec 18, 2006
Posts: 34
ya i got i downloaded the jar files n placed them in the lib folder of my application.Thanks alot.
Ajith George
Ranch Hand

Joined: Dec 22, 2005
Posts: 109
Got it Ben. Thanks for pointing out.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jsp Exception