Everytime I try to call this java class file it always returns 'variable
results undefined'.
Can anyone tell me what may be causing this? It worked fine a few times and
now its dead.

------------------
<CFOBJECT type="java" action="create" class="encrypt" name="cd">
<CFSET void = cd.init()>
<CFSET results = cd.encodeData("A", "B", "C", "D", "E")>
</CFOBJECT>
<CFDUMP var="#results#">
-------------------
package encode;
import java.util.*;
import BlowfishJ.*;

public class encrypt{
        private String key  = "test";
        public String[] encodeData(String A, String B, String C, String D,
String E)
    {
     String[] se = new String[5];
     BlowfishEasy bfe = new BlowfishEasy(this.key);
     se[0] = bfe.encryptString(A);
     se[1] = bfe.encryptString(B);
     se[2] = bfe.encryptString(C);
     se[3] = bfe.encryptString(D);
     se[4] = bfe.encryptString(E);
     return se;
    }
}
------------------

Regards,
Dave Bosky




HTC Disclaimer:  The information contained in this message may be privileged and 
confidential and protected from disclosure. If the reader of this message is not the 
intended recipient, or an employee or agent responsible for delivering this message to 
the intended recipient, you are hereby notified that any dissemination, distribution 
or copying of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by replying to the message and 
deleting it from your computer.  Thank you.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Reply via email to