I have a Java-Spring web application running on Tomcat server. Tomcat server is installed in C: drive (C:\Program Files\Apache Software Foundation\Tomcat\
). I want to read an access database file which is also saved in C: drive (C:\Some Folder Name\
). I have the following code which works properly when the application is running from eclipse, but does not work on Tomcat server:
Connection conn = DriverManager.getConnection("jdbc:ucanaccess://C:\\Some Folder Name\\some.mdb");
How to solve this?
Thanks in advance