开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜