•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 391,922 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,715 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 520 | Replies: 4 | Solved
![]() |
•
•
Join Date: Dec 2004
Location: London or Slovakia
Posts: 2,141
Reputation:
Rep Power: 10
Solved Threads: 258
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,646
Reputation:
Rep Power: 18
Solved Threads: 191
but what the heck does this have to do with JSP?
DSN is an ODBC concept, and has no relation to Java whatsoever.
It's also an utterly outdated concept for for example .NET.
DSN is an ODBC concept, and has no relation to Java whatsoever.
It's also an utterly outdated concept for for example .NET.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
•
•
Join Date: Jul 2008
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
You can use these two lines for connection using DSN
java Syntax (Toggle Plain Text)
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection con=DriverManager.getConnection("jdbc:odbc:dsn");
Last edited by peter_budo : 32 Days Ago at 3:40 pm. Reason: Keep It Organized - please use [code] tags
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
age amd avatar backup blue gene breach business chips daniweb data data protection database development dos download economy energy enterprise europe hardware ibm ibm. news it linux mbit medicine memory microsoft network news open source openoffice pc ps3 recession red hat security server sun supercomputer supercomputing survey technology testing throughput trends ubuntu upload working x86
- How to make connection to database more dynamically using hibernate. (Java)
- how to create new table in MS Access2003 database using VB6 (Visual Basic 4 / 5 / 6)
- asp connecting to database (ASP)
- Trusted connection in ASP with db (ASP)
- conditional database query (ColdFusion)
- database question (C#)
- Manipulating A Database (C#)
- JSP connection to database (JSP)
- This Database is a Monster (MS Access and FileMaker Pro)
Other Threads in the JSP Forum
- Previous Thread: Sending email in JSP with SMTP authentication
- Next Thread: resultset within the resultset



Linear Mode