| Author |
How to get network path?
|
RameSan Rahul
Greenhorn
Joined: Jul 21, 2005
Posts: 19
|
|
Hi I am creating a web application which has to connect to MS Access database for that i need to know how to get the absolute path ( eg. c:\program files\...) of my web site . Is it possible to get it? if so please tell me , this is very urgent.
|
 |
Dave Salter
Ranch Hand
Joined: Jul 20, 2005
Posts: 292
|
|
You want to do something like
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26201
|
|
RameSan, Why do you need the absolute path? Web applications are supposed to be independent of where they happen to be deployed to. In any case, this is more of a Servlet question than a JBDC one. I'll mov eit to Servlets for you.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
RameSan Rahul
Greenhorn
Joined: Jul 21, 2005
Posts: 19
|
|
Thank u Dave Salter & Jeanne Boyarsky for your replies. I will try this and let u know the results Ramesan
|
 |
 |
|
|
subject: How to get network path?
|
|
|