I have the following code in one of my java files.
public class DBHelper {
static{
try {
Properties props =
PropertyReader.getProps("\dbpool.properties");
conMgr =
} catch(Exception e ) {
e.printStackTrace();
}
}
}
I get an exception saying that it could not locate the dbpool.properties file. I have
placed this file in the myapp.war folder. So i think \dbpool.properties should get it.
How do I access files like these from my utility classes like these. Note that this
method most likely gets invoked from a jsp or servlet.
Thanks in advance
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841884#3841884
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841884
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user