Wednesday 17 June 2015

Accessing JNDI DataSource with JSTL from JSP

JSTL Sql tags with JNDI datasource : In this article we will show you how to create the JNDI datasource and access it using the JSTL tag library. We will use the tomcat DBCP Connection Pool defined in context.xml, to execute an SQL query and output the data using JSTL in a JSP page.
Steps to create JNDI datasource and code :
Step 1: First you need to have some important jar files inside your project’s lib
To view full blog of  Accessing JNDI DataSource with JSTL from JSP please visit FindNerd .

No comments:

Post a Comment