jQuery in Action, 2nd edition
The moose likes JDBC and the fly likes Database path Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Database path" Watch "Database path" New topic
Author

Database path

Mamu Jan
Ranch Hand

Joined: Sep 21, 2005
Posts: 45
Hi,

How can I make the following line "drive independent":


I am looking for the java equivalent of App.drive/App.path of Visual Basic or something similar.

Any sorta help wud b gr8ly appreciated
[ October 11, 2005: Message edited by: Mamu Jan ]

There is no patch for ignorance...
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172
What do you mean by "drive independent"?

One way I could think of, configure a connection pool and use a datasource to lookup for connections.


Cheers!<br /><b>Annie</b>
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Database path
 
Similar Threads
Access a variable
JSP called from filter not finding JavaScript file
lockCookie
for loop question
assignments and + operator