Kawai Wiki

Rev

Rev 162 | Rev 182 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 162 Rev 176
Line 22... Line 22...
22
import org.mentawai.core.ActionConfig;
22
import org.mentawai.core.ActionConfig;
23
import org.mentawai.core.ApplicationManager;
23
import org.mentawai.core.ApplicationManager;
24
import org.mentawai.core.Context;
24
import org.mentawai.core.Context;
25
import org.mentawai.core.Filter;
25
import org.mentawai.core.Filter;
26
import org.mentawai.core.Props;
26
import org.mentawai.core.Props;
27
import org.mentawai.db.C3P0ConnectionHandler;
-
 
28
import org.mentawai.db.ConnectionHandler;
27
import org.mentawai.db.ConnectionHandler;
-
 
28
import org.mentawai.db.mysql.MySQLBoneCPConnectionHandler;
29
import org.mentawai.filter.AuthenticationFilter;
29
import org.mentawai.filter.AuthenticationFilter;
30
import org.mentawai.filter.AuthorizationFilter;
30
import org.mentawai.filter.AuthorizationFilter;
31
import org.mentawai.filter.ExceptionFilter;
31
import org.mentawai.filter.ExceptionFilter;
32
import org.mentawai.filter.FileUploadFilter;
32
import org.mentawai.filter.FileUploadFilter;
33
import org.mentawai.filter.FlashScopeFilter;
33
import org.mentawai.filter.FlashScopeFilter;
Line 77... Line 77...
77
                String driver = props.getString("jdbc.driver");
77
                String driver = props.getString("jdbc.driver");
78
                String url = props.getString("jdbc.url");
78
                String url = props.getString("jdbc.url");
79
                String user = props.getString("jdbc.user");
79
                String user = props.getString("jdbc.user");
80
                String pass = props.getString("jdbc.pass");
80
                String pass = props.getString("jdbc.pass");
81
               
81
               
82
                this.connHandler = new C3P0ConnectionHandler(driver, url, user, pass);
-
 
-
 
82
                this.connHandler = new MySQLBoneCPConnectionHandler(driver, url, user, pass);
83
        }
83
        }
84
       
84
       
85
        @Override
85
        @Override
86
        public void loadBeans() {
86
        public void loadBeans() {
87
       
87