A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to connect SQL database in servlet?
Joined: Nov 27, 2002
Sep 28, 2004 00:13:00
I am beginning to use web logic to development web applications. The question is how to connect SQL database in servlet? I have heard about the Oracle database connection and retrieval in J2EE, so can I connect to my SQL database in web logic?
a beginner in java
Joined: Mar 25, 2002
Sep 28, 2004 00:44:00
yes u can connect sql also through weblogic.
First u get the sql driver class and URl then u can apply at weblogic console and also u must and should set the classpath for ur sql driver.
Joined: Aug 29, 2004
Sep 28, 2004 03:35:00
try jdbc instead..
there are 6 simple steps given in all books
I agree. Here's the link:
subject: how to connect SQL database in servlet?
Servlet Between Application and SQL Server
JDBC with MSsql server without DSN
shift booking app
connecting jsp page with sql
struts 1 connection to sql server 2005
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015