how to create a dsn less connection using a jsp

hi,

presently i have created a web site using jsp..i used a dsn connection to access the database.i used the basic jdbc:odbc type one driver..the issue is that when i tried to webhost my website they told me that i have to use a dsn less connection ....code anyone refer me the code as to how i could a dsn less connection jsp...i am using a access database..

[372 byte] By [max_mada] at [2007-10-3 8:55:54]
# 1

Well Friend,

This is not the right form to post this query i would advice u to post this query in the JDBC thread

If U are not satisfied with the resolution provided below

Howevr as per my experience

If U wanna use DSN less Connection U may go ahead and use TYPE II/III/IV drivers which would be Application(database) specific in general.

u wud have to include the driver specific .jar files (to load drivers) in your classpath for few specific type of drivers like thin/OCI/.......

And it wud be different for different Databases U can easily get information and downloadables about those drivers from db vendors web portals.

Just for U reference check the links below

http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm

http://forums.oracle.com/forums/thread.jspa;jsessionid=8d92200830de37db8191784349ff8c14cef5a6d94e36.e34QbhuKaxmMai0MaNeMb3aTbxz0?messageID=901133��

http://www.kitebird.com/articles/jdbc.html

http://www.developer.com/java/data/article.php/3417381

http://www.akadia.com/services/sqlsrv_jdbc.html

http://www.thescripts.com/forum/thread182937.html

Else where U can make use of Hibernate/ EJB/.....

which would include support for Dbconnection internally.

RahulSharnaa at 2007-7-15 4:06:06 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...