Solved

JSP - TLD namespace not registered.

Posted on 2006-11-12
5
3,362 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
  • 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

685 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