Solved

JSP - TLD namespace not registered.

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to start Neon 20 120
servlet doXXX methods 3 62
by zero exception 10 52
eclipse console opening separately 2 29
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The viewer will learn how to dynamically set the form action using jQuery.
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…

837 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