tomcat sqlite jdbc on server connection problem
Hi i want to upload my wicket project into the tomcat server.
But in project i 've connected to db file like this :
connection=DriverManager.getConnection("jdbc:sqlite:C:\Users\myPC\gr27hbs.db");
I'll make war file but server doesn't have db file.So i must put my db file into projects folder.But this t开发者_JS百科ime there is a problem in connection string there is a parameter which is illustrated with my pc user name.
Where should i put the db file , and how will tomcat knows where the database file is?
精彩评论