• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get network path?

 
RameSan Rahul
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You want to do something like

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35744
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
RameSan Rahul
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank u Dave Salter & Jeanne Boyarsky for your replies. I will try this and let u know the results

Ramesan
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!