I created a class that I want to use for encrypting a string with RC4 and then return the encrypted string only problem is I seem to be having trouble getting the class to import. I am not sure if my import statement is wrong or if there is an issue with my class.
So I put my compiled class file into 'WEB-INF/classes' folder and here is the class code (code is sloppy now but I will clean it up once I have my class working),
Then in my jsp file this is what I put,
But when I run the jsp this is what I get (had to use code tag because of abbreviation rule on forum),
I am guessing it is something simple that I am doing wrong but can't seem to figure out what it is. Any help is appreciated.