Hi,

I just found out that placing the database file (.sqlite) in the WAR 
directory isn't that good, since it can be accessed by anyone. 

So I guess that I should move it to /war/WEB-INF/classes or any other 
suggestions?

Previously I did it this way, which worked:

Class.forName("org.sqlite.JDBC");
Connection conn = 
DriverManager.getConnection("jdbc:sqlite:database.sqlite");   // 
(database.sqlite in the war directory)


How can I access the database file now, if I move it 
to /war/WEB-INF/classes?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/808Pl-cw1a8J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to