Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
java x 5
Member Avatar for juser11

I am trying to configure log4j for one of my web projects. For that I want to read the log4j.properties file. Below is the code [code] private URL url; private File file; file = new File(url.getPath()); DOMConfigurator.configure(url); [/code] Following is the error Exception in thread "Thread-1" java.lang.NullPointerException Then I try …

Member Avatar for kvprajapati
0
126
Member Avatar for vanpersie

Hi guys Iwant to connect java to oracle ,but Iam not familiarneither jdbc nor in setting classpath however depending on my little information,I used the following code [CODE=java] import java.sql.*; public class OraThin { public static void main(String[] args) throws ClassNotFoundException, SQLException { Class.forName("oracle.jdbc.driver.OracleDriver"); // // or // DriverManager.registerDriver // …

Member Avatar for vanpersie
0
238
Member Avatar for juser11

Am having problem calling a simple stored proc to insert data from a java program. The insert statement works fine when called directly with prepare statement. But when I use call it through a strored proc I get an error. jar file is ojdbc5.jar. - oracle10g. Then i tried another …

Member Avatar for kvprajapati
0
777