I have a .jsp file with method encrypt() to encrypt a
string. This method works fine on my computer but when I upload it on the server, it throws this exception:
java.io.StreamCorruptedException
Can someone please help me solve this problem.
Here is the code to encrypt the string:
Thanks for the help.