import file

hi,

i am trying out base64 encoding in java.The version i have installed is j2sdk1.4.2_08.

import oracle.xml.parser.v2.DOMParser;

import oracle.xml.parser.v2.XMLDocument;

import org.apache.soap.encoding.soapenc.Base64;

these import statements are not available in the API ,and hence displays errors when compiled.can i please know about what import statement must be added for the above version.

[432 byte] By [raji83a] at [2007-10-2 0:52:04]
# 1
Pardon? Maybe the import statements don't work because you didn't add the library to your classpath?
CeciNEstPasUnProgrammeura at 2007-7-15 18:11:43 > top of Java-index,Java Essentials,Java Programming...
# 2
you can't fix the error with any import statement. you need to download and install those missing libraries.
jsalonena at 2007-7-15 18:11:43 > top of Java-index,Java Essentials,Java Programming...
# 3
hi,thank u very much. i am new to java,so can you please help me out to add the library files to the classpath.
raji83a at 2007-7-15 18:11:43 > top of Java-index,Java Essentials,Java Programming...
# 4
http://www.google.com/search?q=how+to+set+java+classpath
ChuckBinga at 2007-7-15 18:11:43 > top of Java-index,Java Essentials,Java Programming...
# 5
hi,thanks.can i know about the library files that i am supposed to download for these import statements.import oracle.xml.parser.v2.DOMParser;import oracle.xml.parser.v2.XMLDocument;import org.apache.soap.encoding.soapenc.Base64;
raji83a at 2007-7-15 18:11:43 > top of Java-index,Java Essentials,Java Programming...
# 6
can you please tell me about where would i find those missing libraries.
raji83a at 2007-7-15 18:11:43 > top of Java-index,Java Essentials,Java Programming...
# 7

in order to use the parsers weather they are SAX or DOM u require some jar files.This is very much similar to weblogic.jar where it consists of all the files related for accessing the Servlets and we cannot work with it if we had not added weblogic.jar file in the class path.

In the similar way we require some jar files to access and according to my knowledge these jar files are not the free software for more details regarding this search in sun website

Kiran_Rajesh_Anila at 2007-7-15 18:11:43 > top of Java-index,Java Essentials,Java Programming...