This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i have new saaj.jar,saaj-api.jar, and saaj-impl.jar in path.
This sounds fishy. First of all, I'm assuming you have those in the classpath, not the path (where they wouldn't do any good). Secondly, I think Java 1.6 comes with SAAJ, so if you want to use a different version than the one built in, just adding them to the classpath will cause confusion.
You need to put these classes in the bootclasspath; this is discussed in more detail here.
Joined: Nov 06, 2006
Sorry for the confusion. I put those jars in \Java\jre1.6.0_01\lib\ext folder.
Joined: Mar 22, 2005
I put those jars in \Java\jre1.6.0_01\lib\ext folder.
That won't do. They need to be in the bootclasspath.