Solved

JSP - TLD namespace not registered.

Posted on 2006-11-12
5
3,378 Views
Last Modified: 2013-11-24
I create a simple JSP page which i copy the following from Eclispe tutorial.

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

When i complie i got the following error message.
http://java.sun.com/jsp/jstl/sql is not a registered TLD namespace.

Please advise how to correct this.
DO i need to download any jar file from SUN.com???



0
Comment
Question by:LeanMoreTryMore
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:jaggernat
ID: 17927591
0
 

Author Comment

by:LeanMoreTryMore
ID: 17927612
Thanks.
I now got the following error

Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"

I have created a context.xml as guide by eclispe example.
Notes. I use Oracle JDeveloper.


<?xml version="1.0" encoding="UTF-8"?>
<Context>
   <Resource name="jdbc/OracleDS" auth="Container"
       type="javax.sql.DataSource"
       username="guidev" password="guidev"
       driverClassName="oracle.jdbc.driver.OracleDriver"
       url="jdbc:oracle:thin:@137.172.4.7:1521:dev"
       maxActive="8"    />
</Context>
0
 
LVL 10

Expert Comment

by:jaggernat
ID: 17927623
0
 

Author Comment

by:LeanMoreTryMore
ID: 17927635
i run on jsp..
i cant find any useful info to resolve my problem
0
 
LVL 10

Accepted Solution

by:
jaggernat earned 500 total points
ID: 17927641
I am assuming you have resolved   this error :http://java.sun.com/jsp/jstl/sql is not a registered TLD namespace

the second error  >>>Unable to get connection, DataSource invalid: "java.sql.SQLException: No suitable driver"
its not a jsp realted problem. Its has got something to do with your database connection.
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to implement Singleton Design Pattern in Java.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question