Solved

JSP - TLD namespace not registered.

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What kind of framework must i use to do that ? 2 47
Java string replace 11 77
How does initial implicit objects  are set up in JSP? 7 40
object method as an event handler 8 77
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
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…

739 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