I used the org.w3c.tools.codec.Base64Decoder.
http://jigsaw.w3.org/Distrib/jigsaw_2.2.4.zip
After opeining the zip file you'll find the .java files ini jigsaw classes org w3c tools codec.
Compile and jar these files and include that jar file in you archive tag:
<param name="archive" value="myApplet.jar;base64.jar" />
It's packaged so you should put it in the right folder structure.
Create a folder called temp
Create the following folders in temp
org\w3c\tools\codec (w3c in org and tools in w3c codec in tools)
Extract the files from the codec folder in the codec folder you created
Execute the following commands in your temp directory
C:\temp>javac .\org\w3c\tools\codec\*.java
C:\temp>jar cf base64.jar .\org\w3c\tools\codec\*.class
hey harmmeije
thanks for the response........i did as u said n i get this error
C:\Documents and Settings\Karthik\IdeaProjects\des\src\EncryptDecryptDes.java
Error: line (67) cannot access org.w3c.tools.codec.Base64Coder
bad class file: C:\Documents and Settings\Karthik\Desktop\Base64Coder.jar(org/w3c/tools/codec/Base64Coder.class)
class file contains wrong class: Base64Coder
Please remove or make sure it appears in the correct subdirectory of the classpath.
am sure its coz i must have put somethin in the wrong int the wrong place....
help me again plzzzzzz
re read my previous post and do the things discribed there:
"It's packaged so you should put it in the right folder structure."
When compiling your .java file set the -classpath to the the jar file you made
for example
C:\temp>javac -classpath base64.jar myAppletFile.java