Hi,
I have a database in the root directory of my web app that I use with my
JSP. I want to create a war file that does not require any further user
intervention in configuring the application.

I am not using a dsn to connect to my access database rather I am using the
below string.

DRIVER={Microsoft Access Driver
(*.mdb)};DBQ=pwWorkFlow;DefaultDir="c:\tomcat\webapps\myCompany\;

The above string works as long as I set the DefaultDir manually. I don't
want the user to have to do that. I noticed the user.dir pointed to the
above directory. Is there a way I can set the DefaultDir in the above string
automatically to point to the root directory of my web app.

I hope the above made sense.

Any help is appreciated.

Alex


Reply via email to