Skip to main content

Posts

Showing posts from April 3, 2013

How to configure JNDI step by step in NetBeans..

  Software Version Required NetBeans IDE Java bundle, 6.8 or 6.9 Java Development Kit (JDK) version 6,7 GlassFish server v3 or Open Source Edition 3.0.1 SQL Server  2005 Type 4 Driver for SQL Server 2005 sqljdbc SQL Server 2005 Type 4 driver •First Download the SQL Server 2005 Type 4 driver. •Set the classpath Database Create a database and table in SQL Server 2005 Create a new web Application index.jsp code <%-- Document : index Created on : Nov 21, 2012, 3:42:17 PM Author : NIIT --%> <%@page contentType= "text/html" pageEncoding= "UTF-8" %> <!DOCTYPE html> <html> <head> <meta http-equiv= "Content-Type" content= "text/html; charset=UTF-8" > <title>JNDI DEMO</title> </head> <body bgcolor= "pink" > <h1>Login Management System</h1>