Hi, > I use .. Tomcat6.0.18 ...,How to locate the ... Web application root > directory?
I believe this question is unrelated to H2. I suggest to ask this question on the Tomcat user list. I'm not sure, but maybe it's catalina.home or catalina.base: http://www.jguru.com/faq/view.jsp?EID=1121565 H2 currently doesn't support using system properties in the database URL, I will add a feature request for this. I'm not sure if any other database supports this feature. H2 supports path relative to the current user home directory: jdbc:h2:~/data/test and absolute path: jdbc:h2:/data/test - see also http://www.h2database.com/html/features.html#embedded_databases > url="jdbc:h2:/fm2" So you are using a absolute path (the database is stored in the root directory). Regards, Thomas --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "H2 Database" group. 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/h2-database?hl=en -~----------~----~----~----~------~----~------~--~---
