org.apache.jasper.JasperException: java.lang.RuntimeException: JSP Registry could not locate runtime property file:jsp_bc_BcModule.properties
the file is in CLASSPATH.
any other ideia? thanks again...
Pedro Cardoso
Filip Hanik wrote:
put it in WEB-INF/classes
then you can access it from your servlet or JSP by using the classloader
for example,
Properties prop = new Properties();
InputStream in this.getClass().getClassLoader().getResourceAsStream("xxx_bcModule.properties");
if ( in != null ) prop.read(in);
Filip
-----Original Message-----
From: Pedro Cardoso [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 12, 2003 12:11 PM
To: tomcat user
Subject: where put the business components properties file
I have 2 projects developed with Oracle JDeveloper 3.2.3: one for business componets and another for JSP's. The connection are made with the xxx_bcModule.properties file. Where should i put this file to run the projects in tomcat?
i try to put this file in one directory outside the tomcat root and add this path at CLASSPATH in catalina.bat but don't work. Any ideia?
thanks
Pedro Cardoso
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]