Solved

JSP - TLD namespace not registered.

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now