Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Getting JSP and JDBC example to work
Getting JSP and JDBC example to work [message #205574] Tue, 11 December 2007 06:37 Go to previous message
Eclipse User
Originally posted by: MacAdam.eden.invalid

Hi,

I'm trying to get the following example to work in Eclipse:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-datasource-exam ples-howto.html

The error message I get in Eclipse, after saving my .jsp is:
Cannot find the tag library descriptor for
(1) http://java.sun.com/jsp/jstl/core
and
Cannot find the tag library descriptor for
(2) http://java.sun.com/jsp/jstl/sql

I downloaded the 'Jakarta Taglib Standard 1.1', and extracted the
jstl.jar and standard.jar files to
D:\eclipse\workspace\DBTest\WebContent\WEB-INF\lib

The taglib's I use in my jsp are:
<%@ taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql" %> (1)
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> (2)

Note: (1) and (2) in error message and taglib correspond to each other.

So the easy question is, what do I need to do to get this example
working?

My problem might be caused by the place I saved my Context
configuration. I placed it in %CATALINA_HOME%/conf/context.xml. So it
might be Eclipse did not find this context configuration. Might it be I
need to add this context configuration to Eclipse too? Where?

TIA,
Abel
 
Read Message
Read Message
Read Message
Previous Topic:J2EE Module Dependencies Disappear
Next Topic:edit HTML file
Goto Forum:
  


Current Time: Thu May 23 13:16:21 EDT 2013

Powered by FUDForum. Page generated in 0.01663 seconds