Point the windows config file to use the HSQLDB database
git-svn-id: http://webgoat.googlecode.com/svn/trunk@198 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
parent
5fd4b44303
commit
002dbbf53c
@ -145,17 +145,18 @@
|
|||||||
<init-param>
|
<init-param>
|
||||||
<param-name>DatabaseDriver</param-name>
|
<param-name>DatabaseDriver</param-name>
|
||||||
<param-value>
|
<param-value>
|
||||||
sun.jdbc.odbc.JdbcOdbcDriver
|
org.hsqldb.jdbcDriver
|
||||||
<!--org.enhydra.instantdb.jdbc.idbDriver-->
|
|
||||||
</param-value>
|
</param-value>
|
||||||
</init-param>
|
</init-param>
|
||||||
|
|
||||||
<init-param>
|
<init-param>
|
||||||
<param-name>DatabaseConnectionString</param-name>
|
<param-name>DatabaseConnectionString</param-name>
|
||||||
|
<!--
|
||||||
|
The string "${USER}" in the connection string will be replaced by the active username
|
||||||
|
when making a connection.
|
||||||
|
-->
|
||||||
<param-value>
|
<param-value>
|
||||||
<!-- insert the word PATH where you want to insert the realpath to the base of the web context-->
|
jdbc:hsqldb:mem:${USER}
|
||||||
<!--jdbc:idb:PATH/database.prp-->
|
|
||||||
jdbc:odbc:;DRIVER=Microsoft Access Driver (*.mdb);DBQ=PATH/webgoat.mdb;PWD=webgoat"
|
|
||||||
</param-value>
|
</param-value>
|
||||||
</init-param>
|
</init-param>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user