i got one file dbconnmannager.java for pooling  but it has some error
i know its nt an s2 question but still wait 4 ans 

i put in one package connpool
it gives error at specific point


it can not load properties file 
--------------------------------------------------------------------------------------------
    
    /**
     * Loads properties and initializes the instance with its values.
     */
    private void init() {
        
        
        InputStream is = getClass().getResourceAsStream("/db.properties");
        Properties dbProps = new Properties();
        try {
            dbProps.load(is);
        }
        catch (Exception e) {
            System.err.println("Can't read the properties file. " +
                "Make sure db.properties is in the CLASSPATH");
            return;
        }
--------------------------------------------------------------------------------------------

is there any rule to properties file 


-- 
View this message in context: 
http://www.nabble.com/about-DAO-tp15798783p15799947.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to