Yes, even if i try
File f =
new File("C:\\jboss-3.2.4\\server\\default\\deploy\\cm.ear\\cm.war\\htm\\Rep\\Gland
5.xml");
boolean b = f.exists();
System.out.println("EXISTS" + b);
Document oDocument = dBuilder.parse(f);
I still get a problem. In the
Here is my jsp code
<%@ page
import="java.net.URLDecoder,org.w3c.dom.Document,java.io.*,javax.xml.parsers.DocumentBuilder,
javax.xml.parsers.DocumentBuilderFactory" %>
<%
try {
//create a factory instance
DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newI
The actual code which tries to load the properties file is:
InputStream in = ClassLoader.getSystemResourceAsStream("dbpool.properties");
Properties props = new Properties();
props.load( new BufferedInputStream( in ) );
return props
View the original post :
http://www.jbo
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 ) {