struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hns <>
Subject Re: about DAO
Date Mon, 03 Mar 2008 10:42:27 GMT

i got one file 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("/");
        Properties dbProps = new Properties();
        try {
        catch (Exception e) {
            System.err.println("Can't read the properties file. " +
                "Make sure is in the CLASSPATH");

is there any rule to properties file 

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message