Re: about DAO

2008-03-03 Thread Jeromy Evans
hns wrote: InputStream is = getClass().getResourceAsStream("/db.properties"); Don't include a leading slash unless you really mean the root directory (which you shouldn't do in a webapp). Instead, this line: InputStream is = getClass().getResourceAsStream("db.properties"); will

Re: about DAO

2008-03-03 Thread hns
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 --

Re: about DAO

2008-03-02 Thread Jeromy Evans
hns wrote: i have use ms access database i have set in login.java that if user is valid then username and userid and connection object is stored in session now this connection object i have pulled in entire session to workout with common object is this good for security and performance? I little