Jalli Venkat

Greenhorn
+ Follow
since Aug 10, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Jalli Venkat

HI Ulf,
I am also have same requirement as Ganeshkumar .

My requirement is : I have a CSV file data with multiple columns and rows.
I want to insert that data into the Database(Oracle) table.
Can you please guide me the approach or provide me the code if available.

Thanks in advance.
No i didnt get any security related messages, below is the message coming after compilation of program


java.io.IOException: Access is denied
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(Unknown Source)
at FileIO1.main(FileIO1.java:13)
Check for existence==>false
15 years ago
Check for existence==>false
java.io.IOException: Access is denied
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(Unknown Source)
at FileIO1.main(FileIO1.java:13)
Check for existence==>false

When I trying to run following code

File f1 = new File("D:\\TestFile.txt");
System.out.println("Check for existence==>"+f1.exists());
try {
f1.createNewFile();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}

I getting above error message about "java.io.IOException: Access is denied". Can anybody help me in this?
15 years ago
Hi Friends,

In my project , I am using log4j.xml.
I need to get path of the log4j.xml at run time without hardcoding the path in Java Class.

My Scenario: I am reading the log4j.xml file and modifying the Appender and log levels and saving the changes in the log4j.xml.
I am able to do this using hard coding the path of the log4j.xml path in my Java Class .
But i need to do that dynamically without hard coding the log4j.xml file path.

Thanks
HI ,
When I am running my application ,I am gettting foll0wing error in Websphere6.1.
Can any one help me to find out where is the problem...?

Error:

A javax.naming.Reference object looked up from the context "DSCP40314Node01Cell/nodes/DSCP40314Node01/servers/server1" with the name "jdbc/iServDataSource" was sent to the JNDI Naming Manager and an exception resulted. Reference data follows:
Reference Factory Class Name: com.ibm.ejs.j2c.ConnectionFactoryBuilderImpl
Reference Factory Class Location URLs: <null>
Reference Class Name: javax.resource.cci.ConnectionFactory
Type: connectorName
Content: jndiName
Type: classpath
Content: C:\Program Files\IBM\SDP70\runtimes\base_v61/lib/rsadapter.rar;C:\Program Files\IBM\SDP70\runtimes\base_v61/lib/rsadapter.rar
Type: FactoryJndiName
Content: jdbc/myDataSource
Address Type: dd
AddressContents: ffffffac ffffffed 0 5 73 72 0 25 63 6f 6d 2e 69 62 6d 2e 65 6a 73 2e 6a 32 63 2e 52 65 73 6f 75 72 63 65 ...
Address Type: miscProps
15 years ago
HI
Can any one explain me about the RESTful WEB SERVICES with SPRING MVC Framework...?
Please provide me the guidelines for implementation.
15 years ago
HI
Can any one explain me about the RESTful WEB SERVICES with SPRING MVC Framework...?
Please provide me the guidelines for implementation.
15 years ago
Hi,
How can we count the number of objects created for a class using Java1.5 API..?
Is there any such API available...?
If not means , what is the solution for this....?

15 years ago
Hi Friends,
I know that " An Interface which doesn't have any methods" is called Marker Interface.
If we create an interface without any methods, is it become a Marker Interface........?
Then what is the main purpose(Need) of Marker Interface..?



Thanks
15 years ago
Hi Streit,
Thanks for your reply.
15 years ago
HI Ulf,
I am loking for the following areas in Web Service.

1.Service Oriented Architecture(SOA).
2.JAX-RPC
3.JAX-WS

Thanks
15 years ago
HI Friends,
Please refer me any good book for Web Services.
It is urgent for me.

Thanks
Venkat
15 years ago
Hi Friends,

What is the need of Marker Interface.....?
Why Marker Interfaces doesn't have any methods....?

16 years ago
Hi Friends,
Is it necessary to call finalize() method on an abject explicitly or it will be called by garbage Collector automatically whenever the object eligible for Garbage Collection..?

Please answer this.
16 years ago
HI Friends,
I wrote a class like as follows.

Class A() {
void add(String a,String b) {
System.out.println("add method with strings");
}

void add(Date d1,Date d2) {
System.out.println("add method with dates");
}

}

If I call above add method with parameter values as "null" like as follows, then what will be the output?

add(null,null);

It will throws any exception or displays any message?

please answer this .
16 years ago