aspose file tools*
The moose likes JDBC and the fly likes how dsn name is recognised by the website host Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "how dsn name is recognised by the website host" Watch "how dsn name is recognised by the website host" New topic
Author

how dsn name is recognised by the website host

Amar Deep Singh Chaudhary
Ranch Hand

Joined: Dec 26, 2006
Posts: 49
if i have make a database connnection on my pc and i access the database on my pc.if i upload this database to my website server and access this database through the webpages then is it possible that the web server recognise the dsn name in the web pages itself or i need to make a dsn name on my webserver.Please help on this topic.


"A thinking mind never dies"
A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
The database related code would be executed at the server side..and the database...also resides at the server(it can also be a remote database)

If its in the same machine as the server....then it is similiar to the scenario...below

A web server with the webpages and the database in the same machine..
with a DSN connection in your machine you can access it from the web pages....in the local system


Similiarly....in the remote web server...you should create a DSN that will enable it(database in the system) to be accessed from the web pages..in the same server..
[ February 13, 2007: Message edited by: A Kumar ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how dsn name is recognised by the website host